Make client and server-webrtc log in UTC.

This commit is contained in:
David Fifield 2017-07-16 14:58:34 -07:00
parent 0ccb4b7cc8
commit 86a244c39e
2 changed files with 2 additions and 0 deletions

View file

@ -223,6 +223,7 @@ func main() {
flag.StringVar(&httpAddr, "http", "", "listen for HTTP signaling")
flag.Parse()
log.SetFlags(log.LstdFlags | log.LUTC)
logFile, err = os.OpenFile("snowflake.log", os.O_CREATE|os.O_APPEND|os.O_WRONLY, 0600)
if err != nil {
log.Fatal(err)