Skip to content

Commit

Permalink
Fix the bug where logging level doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
haoming29 committed Mar 13, 2024
1 parent 7609ffd commit 8df7aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (fh *RegexpFilterHook) Levels() []log.Level {
}

func (rt *regexpTransformHook) Levels() []log.Level {
return log.AllLevels
return rt.hook.LogLevels
}

// Process a single log entry coming from logrus; iterate through the
Expand Down

0 comments on commit 8df7aab

Please sign in to comment.