Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎁 Adding logging for PDF splitting information #63

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

jeremyf
Copy link
Contributor

@jeremyf jeremyf commented Jul 14, 2023

Prior to this commit, during run time we didn't have much insight as to whether or not we were finding the split pages (and if so how many).

With this commit we log information regarding the number of files we find, the path/index for each one OR if we're generating our own.

Related to:

@jeremyf jeremyf force-pushed the adding-logging-to-pdf-splitter branch from 3acfe47 to 0ba3195 Compare July 14, 2023 19:59
@@ -106,7 +106,7 @@ def generated_files
@generated_files << if generated_file.exist?
generated_file
else
log_message = "#{self.class}#generated_files :: " \
log_message = "🤠🐮 #{self.class}#generated_files :: " \
Copy link
Contributor

@orangewolf orangewolf Jul 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

emoji break in k8s logging tools. I know they are fun, but can we skip them for the sake of consistency?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sigh I'll remove them. They aren't just fun, they are helpful to quick scan.

Prior to this commit, during run time we didn't have much insight as to
whether or not we were finding the split pages (and if so how many).

With this commit we log information regarding the number of files we
find, the path/index for each one OR if we're generating our own.

Related to:

- #56
@jeremyf jeremyf force-pushed the adding-logging-to-pdf-splitter branch from 0ba3195 to 0b924b1 Compare July 14, 2023 20:09
jeremyf added a commit to notch8/iiif_print that referenced this pull request Jul 14, 2023
> emoji break in k8s logging tools.

Related to:

- notch8/derivative_rodeo#63
@jeremyf jeremyf requested a review from orangewolf July 14, 2023 20:17
Copy link
Contributor

@kirkkwang kirkkwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also sad to see the emojis go

@jeremyf jeremyf merged commit 04152dc into main Jul 17, 2023
@jeremyf jeremyf deleted the adding-logging-to-pdf-splitter branch July 17, 2023 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants