Browse Source

jpictl: fix verbosity handling

Signed-off-by: Alejandro Mery <amery@jpi.io>
pull/21/head
Alejandro Mery 1 year ago
parent
commit
e9f9d474dc
  1. 2
      cmd/jpictl/main.go

2
cmd/jpictl/main.go

@ -37,5 +37,5 @@ func setVerbosity(_ *cobra.Command, _ []string) {
if desired > 6 {
desired = 6
}
log = log.WithLevel(slog.LogLevel(desired))
log = zerolog.New(nil, slog.LogLevel(desired))
}

Loading…
Cancel
Save