diff --git a/CHANGELOG.md b/CHANGELOG.md index eeb40ab..13edd91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Disable zap logger development mode to avoid panicking - Ownership change to Shield ## [2.0.1] - 2024-08-13 diff --git a/main.go b/main.go index ddb873f..548919a 100644 --- a/main.go +++ b/main.go @@ -68,7 +68,7 @@ func main() { flag.BoolVar(&enableHTTP2, "enable-http2", false, "If set, HTTP/2 will be enabled for the metrics and webhook servers") opts := zap.Options{ - Development: true, + Development: false, } opts.BindFlags(flag.CommandLine) flag.Parse()