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

Print core logging messages with timestamps by default #111

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

arahlin
Copy link
Member

@arahlin arahlin commented Aug 14, 2023

Timestamps on core logging messages are very useful for rudimentary profiling, especially for long running scripts. While the profile option for G3Pipeline.Run() provides similar functionality, it's only useful for scripts that are entirely pipeline-based, which is often not the case. Moreover, timestamps on log messages make it easy to track the progress of a script in real-time, rather than waiting until it has finished running to find out how long it took.

Closes #50.

Timestamps on core logging messages are very useful for rudimentary
profiling, especially for long running scripts. While the profile option for
G3Pipeline.Run() provides similar functionality, it's only useful for scripts
that are entirely pipeline-based, which is often not the case. Moreover,
timestamps on log messages make it easy to track the progress of a script in
real-time, rather than waiting until it has finished running to find out how
long it took.

Closes #50.
@arahlin arahlin self-assigned this Aug 14, 2023
@arahlin arahlin merged commit a64c03e into master Aug 16, 2023
1 check passed
@arahlin arahlin deleted the log_timestamps branch August 16, 2023 15:26
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.

Logging timestamps enabled by default
2 participants