diff --git a/cmd/formatter/logs.go b/cmd/formatter/logs.go index db8fa885c..0c0cb1353 100644 --- a/cmd/formatter/logs.go +++ b/cmd/formatter/logs.go @@ -122,7 +122,7 @@ func (l *logConsumer) write(w io.Writer, container, message string) { timestamp := time.Now().Format(jsonmessage.RFC3339NanoFixed) for _, line := range strings.Split(message, "\n") { if l.timestamp { - _, _ = fmt.Fprintf(w, "%s%s%s\n", p.prefix, timestamp, line) + _, _ = fmt.Fprintf(w, "%s%s %s\n", p.prefix, timestamp, line) } else { _, _ = fmt.Fprintf(w, "%s%s\n", p.prefix, line) }