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

Add timestamp to each log message #116

Open
jmfee-usgs opened this issue May 21, 2020 · 0 comments
Open

Add timestamp to each log message #116

jmfee-usgs opened this issue May 21, 2020 · 0 comments

Comments

@jmfee-usgs
Copy link
Contributor

This originally seemed desirable to simplify logs, but having more precise info would be useful.

Prepend each message with the millisecond timestamp, in addition to the human friendly timestamps that are printed:
https://github.com/usgs/pdl/blob/master/src/main/java/gov/usgs/util/logging/SimpleLogFormatter.java#L73

Not sure whether this is considered a breaking change, since it would affect log parsing, and should be configurable.

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

No branches or pull requests

1 participant