diff --git a/pkg/logging/jsonfile/jsonfile.go b/pkg/logging/jsonfile/jsonfile.go index cffabc62ca8..3d3dbe94ab5 100644 --- a/pkg/logging/jsonfile/jsonfile.go +++ b/pkg/logging/jsonfile/jsonfile.go @@ -122,7 +122,7 @@ func Decode(stdout, stderr io.Writer, r io.Reader, timestamps bool, since string } if timestamps { - output = append(output, []byte(e.Time.String())...) + output = append(output, []byte(e.Time.Format(time.RFC3339Nano))...) output = append(output, ' ') }