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:
Julian Kornberger
2019-11-06 21:06:34 +01:00
committed by Matt Holt
parent aa94f2b802
commit cc63eca0c8
4 changed files with 13 additions and 11 deletions

View File

@@ -171,7 +171,7 @@ selectwriter:
}
}
l.Logger = log.New(l.writer, "", 0)
l.Logger = log.New(l.writer, "", log.Flags())
return nil