Skip to content

Commit 5877a2b

Browse files
committed
updated st bernard package to fix bug causing the log level not to be set via env variable
1 parent 9786428 commit 5877a2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/go/stbernard/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func main() {
4343
if lvl, err := bhlog.ParseLevel(rawLvl); err != nil {
4444
slog.Error(fmt.Sprintf("Could not parse log level from %s: %v", environment.LogLevelVarName, err))
4545
} else {
46-
level.GlobalAccepts(lvl)
46+
level.SetGlobalLevel(lvl)
4747
}
4848

4949
if cmd, err := command.ParseCLI(env); errors.Is(err, command.ErrNoCmd) {

0 commit comments

Comments
 (0)