Skip to content

Add timestamp to each log message #116

@jmfee-usgs

Description

@jmfee-usgs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions