From bbcbca2d4e76cd26bf300b6aa31f4f5f3bb25444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatko=20=C4=8Calu=C5=A1i=C4=87?= Date: Sun, 6 Nov 2016 19:58:11 +0100 Subject: [PATCH] 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. --- server.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server.go b/server.go index d58b4b3..643d80b 100644 --- a/server.go +++ b/server.go @@ -11,6 +11,8 @@ import ( ) func main() { + log.SetFlags(0) + var cpuprofile = flag.String("cpuprofile", "", "write CPU profile to file") var listen = flag.String("listen", ":8000", "listen address") var path = flag.String("path", "/tmp/restic", "data directory")