mirror of
https://github.com/restic/rest-server.git
synced 2025-12-07 09:36:13 -08:00
Stop logging date/time
In preparation for systemd configuration. Modern programs are supervised by systemd. Systemd journal has it's own timestamping, so we don't need another one.
This commit is contained in:
@@ -11,6 +11,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
log.SetFlags(0)
|
||||||
|
|
||||||
var cpuprofile = flag.String("cpuprofile", "", "write CPU profile to file")
|
var cpuprofile = flag.String("cpuprofile", "", "write CPU profile to file")
|
||||||
var listen = flag.String("listen", ":8000", "listen address")
|
var listen = flag.String("listen", ":8000", "listen address")
|
||||||
var path = flag.String("path", "/tmp/restic", "data directory")
|
var path = flag.String("path", "/tmp/restic", "data directory")
|
||||||
|
|||||||
Reference in New Issue
Block a user