Skip to content

Commit

Permalink
Fix off-by-one error in otellogrus initialisiation
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidS-ovm committed Aug 22, 2023
1 parent d6000c4 commit dd419c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ func init() {
}

log.AddHook(otellogrus.NewHook(otellogrus.WithLevels(
log.AllLevels[:log.GetLevel()]...,
log.AllLevels[:log.GetLevel()+1]...,
)))
}
// shut down tracing at the end of the process
Expand Down

0 comments on commit dd419c9

Please sign in to comment.