Commit 86a244c3 authored by David Fifield's avatar David Fifield
Browse files

Make client and server-webrtc log in UTC.

parent 0ccb4b7c
......@@ -131,6 +131,7 @@ func main() {
flag.Parse()
webrtc.SetLoggingVerbosity(1)
log.SetFlags(log.LstdFlags | log.LUTC)
if *logFilename != "" {
logFile, err := os.OpenFile(*logFilename,
os.O_CREATE|os.O_APPEND|os.O_WRONLY, 0600)
......
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment