Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
log in UTC time
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Phillips committed Jan 12, 2018
1 parent 42f7a5c commit 4ee965f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func (writer GlogWriter) Write(data []byte) (n int, err error) {

func InitLogs() {
log.SetOutput(GlogWriter{})
log.SetFlags(0)
log.SetFlags(log.LUTC)
flushFreq := 5 * time.Second
go wait.Until(glog.Flush, flushFreq, wait.NeverStop)
}
Expand Down

0 comments on commit 4ee965f

Please sign in to comment.