Skip to content

Commit

Permalink
Merge pull request containers#2522 from mheon/fix_timestamp_format_logs
Browse files Browse the repository at this point in the history
Change timestamp format for podman logs
  • Loading branch information
openshift-merge-robot committed Mar 4, 2019
2 parents 6184203 + 29ade7f commit 4b80517
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/logs/logs.go
Expand Up @@ -35,7 +35,10 @@ import (

const (
// timeFormat is the time format used in the log.
timeFormat = time.RFC3339Nano
// It is a modified version of RFC3339Nano that guarantees trailing
// zeroes are not trimmed, taken from
// https://github.com/golang/go/issues/19635
timeFormat = "2006-01-02T15:04:05.000000000Z07:00"
)

// LogStreamType is the type of the stream in CRI container log.
Expand Down

0 comments on commit 4b80517

Please sign in to comment.