diff --git a/main.go b/main.go index 767bdff..1fe5e41 100644 --- a/main.go +++ b/main.go @@ -154,6 +154,10 @@ func main() { logrus.Fatalf("invalid log level %s", config.LogLevel) } logrus.SetLevel(l) + logruslogger.SetupLevelChangeOnSignal(ctx, map[os.Signal]logrus.Level{ + syscall.SIGUSR1: logrus.TraceLevel, + syscall.SIGUSR2: l, + }) config.retrieveACLRules(ctx)