From 1d0f96aaacd7d8853a1aa970b01560c92c4da86b Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 24 May 2026 11:31:00 +0200 Subject: Disable log timestamps Many logging systems provide timestamps on their own. To avoid duplication it is disabled by default. --- main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.go b/main.go index 8051118..47353fa 100644 --- a/main.go +++ b/main.go @@ -22,6 +22,10 @@ const ( var versionTxt string var router *mux.Router = mux.NewRouter() +func init() { + log.SetFlags(0) +} + func main() { run( router, -- cgit v1.3