diff --git a/pkg/api/handlers/compat/containers_logs.go b/pkg/api/handlers/compat/containers_logs.go index 66328e7d0b..626e7967a1 100644 --- a/pkg/api/handlers/compat/containers_logs.go +++ b/pkg/api/handlers/compat/containers_logs.go @@ -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(" ") }