mirror of
https://github.com/containers/podman.git
synced 2026-02-05 15:45:08 +01:00
fix(logs): improve timestamp precision in container logs
Signed-off-by: MayorFaj <mayorfaj@gmail.com>
This commit is contained in:
@@ -155,7 +155,7 @@ func LogsFromContainer(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
if query.Timestamps {
|
||||
frame.WriteString(line.Time.Format(time.RFC3339))
|
||||
frame.WriteString(line.Time.Format(time.RFC3339Nano))
|
||||
frame.WriteString(" ")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user