diff --git a/main.go b/main.go index 5c9fe63..4ddc739 100644 --- a/main.go +++ b/main.go @@ -22,7 +22,7 @@ type configData struct { func main() { configPath := "config.toml" - log := zap.L() + log, _ := zap.NewProduction() flag.StringVar(&configPath, "c", configPath, "path to configuration file")