Skip to content

Commit

Permalink
Don't set debug log by default
Browse files Browse the repository at this point in the history
In order to reduce log noise by default

Fixes #239

Signed-off-by: Peter Sabaini <[email protected]>
  • Loading branch information
sabaini committed Jul 26, 2024
1 parent 69853e8 commit 157ab9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion microceph/cmd/microcephd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func main() {

app.PersistentFlags().BoolVarP(&daemonCmd.global.flagHelp, "help", "h", false, "Print help")
app.PersistentFlags().BoolVar(&daemonCmd.global.flagVersion, "version", false, "Print version number")
app.PersistentFlags().BoolVarP(&daemonCmd.global.flagLogDebug, "debug", "d", true, "Show all debug messages")
app.PersistentFlags().BoolVarP(&daemonCmd.global.flagLogDebug, "debug", "d", false, "Show all debug messages")
app.PersistentFlags().BoolVarP(&daemonCmd.global.flagLogVerbose, "verbose", "v", false, "Show all information messages")

app.PersistentFlags().StringVar(&daemonCmd.flagStateDir, "state-dir", "", "Path to store state information"+"``")
Expand Down

0 comments on commit 157ab9a

Please sign in to comment.