mirror of
https://github.com/caddyserver/caddy.git
synced 2026-05-19 14:08:31 -04:00
Add flag to disable timestamps for process log (#2781)
* Add flag to enable/disable timstamps for process log. solves #2615 * Remove timestamp argument from log.Printf() * Add log-timestamps=false to systemd unit * Copy log flags * Fix argument list
This commit is contained in:
committed by
Matt Holt
parent
aa94f2b802
commit
cc63eca0c8
@@ -171,7 +171,7 @@ selectwriter:
|
||||
}
|
||||
}
|
||||
|
||||
l.Logger = log.New(l.writer, "", 0)
|
||||
l.Logger = log.New(l.writer, "", log.Flags())
|
||||
|
||||
return nil
|
||||
|
||||
|
||||
Reference in New Issue
Block a user