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

Encode log timestamps as RFC3339 #261

Merged
merged 1 commit into from
Mar 2, 2023

Commits on Feb 9, 2023

  1. Encode log timestamps as RFC3339

    Timestamps are currently displayed as number of seconds since the Epoch
    using scientific notation, i.e. 1.6759526089944808e+09.
    
    This is definitely not human friendly. Newer versions of the zap package
    now render timestamps according to RFC3339, i.e. 2023-02-09T14:38:20Z.
    
    We're not ready to bump the controller-runtime package that brings us
    zap. Let's configure zap to explicitly use RFC3339.
    
    Signed-off-by: Greg Kurz <groug@kaod.org>
    gkurz committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    8d93114 View commit details
    Browse the repository at this point in the history