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

🌱 Allow Specification of the Log Timestamp Format #1688

Merged
merged 1 commit into from
Oct 11, 2021

Commits on Oct 11, 2021

  1. Add zap-time-encoding flag

        Adds the --zap-time-encoding flag to specify the output format of the log
        timestamp. Allows:
        epoch (floating-point number of seconds since the Unix epoch),
        nanos (integer of nanoseconds since the Unix epoch),
        millis (floating-point number of milliseconds since the Unix epoch),
        iso8601 (ISO8601-formatted string with millisecond precision),
        rfc3339 (RFC3339-formatted string) and
        rfc3339nano (RFC3339-formatted string with nanosecond precision).
    
    Signed-off-by: Christoph Stäbler <cstabler@redhat.com>
    creydr committed Oct 11, 2021
    Configuration menu
    Copy the full SHA
    5bb6cb7 View commit details
    Browse the repository at this point in the history