mirror of
https://github.com/caddyserver/caddy.git
synced 2026-06-29 21:31:41 +00: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:
parent
aa94f2b802
commit
cc63eca0c8
4 changed files with 13 additions and 11 deletions
|
|
@ -171,7 +171,7 @@ selectwriter:
|
|||
}
|
||||
}
|
||||
|
||||
l.Logger = log.New(l.writer, "", 0)
|
||||
l.Logger = log.New(l.writer, "", log.Flags())
|
||||
|
||||
return nil
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue