diff --git a/superhighway84.go b/superhighway84.go index 54b92e8..b6c7087 100644 --- a/superhighway84.go +++ b/superhighway84.go @@ -3,7 +3,6 @@ package main import ( "context" "embed" - "fmt" "time" "log" @@ -21,7 +20,7 @@ var EMBEDFS embed.FS func NewLogger(filename string) (*zap.Logger, error) { cfg := zap.NewProductionConfig() cfg.OutputPaths = []string{ - fmt.Sprintf("%s.log", filename), + filename, } return cfg.Build() }