Skip to content

Commit 7bcf6f1

Browse files
author
Matthew Fisher
committed
fix(logspout): add timezone to logs
1 parent 48c7635 commit 7bcf6f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

logspout/logspout.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func syslogStreamer(target Target, types []string, logstream chan *Log) {
6868
// HACK: Go's syslog package hardcodes the log format, so let's send our own message
6969
_, err = fmt.Fprintf(conn,
7070
"%s %s[%s]: %s",
71-
time.Now().Format("2006-01-02 15:04:05"),
71+
time.Now().Format("2006-01-02 15:04:05 MST"),
7272
tag,
7373
pid,
7474
logline.Data)

0 commit comments

Comments
 (0)