Skip to content

Commit

Permalink
Disable logger development mode to avoid panicking, use zap as logger
Browse files Browse the repository at this point in the history
  • Loading branch information
njuettner committed Sep 10, 2024
1 parent 0d20a83 commit e920570
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Disable logger development mode to avoid panicking, use zap as logger.

## [0.10.1] - 2024-07-02

### Changed
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func main() {
flag.StringVar(&probeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.")
flag.BoolVar(&dryRun, "dry-run", false, "Enable dry-run.")
opts := zap.Options{
Development: true,
Development: false,
}
opts.BindFlags(flag.CommandLine)
flag.Parse()
Expand Down

0 comments on commit e920570

Please sign in to comment.