diff options
-rw-r--r-- | searchix.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/searchix.go b/searchix.go index 79940e9..79da0e7 100644 --- a/searchix.go +++ b/searchix.go @@ -60,11 +60,10 @@ func main() { } slog.SetLogLoggerLevel(conf.LogLevel) if conf.Web.Environment == "production" { - log.SetFlags(log.Lmsgprefix) + log.SetFlags(0) } else { - log.SetFlags(log.LstdFlags | log.Lmsgprefix) + log.SetFlags(log.LstdFlags) } - log.SetPrefix("searchix: ") read, write, exists, err := index.OpenOrCreate(conf.DataPath, *replace) if err != nil { |