Fix: firewall inherits log level from LOG_LEVEL

This commit is contained in:
Quentin McGaw (desktop)
2021-08-25 17:55:46 +00:00
parent d6659552df
commit e1cc14e055

View File

@@ -226,7 +226,7 @@ func _main(ctx context.Context, buildInfo models.BuildInformation,
return err return err
} }
firewallLogLevel := logging.LevelInfo firewallLogLevel := allSettings.Log.Level
if allSettings.Firewall.Debug { if allSettings.Firewall.Debug {
firewallLogLevel = logging.LevelDebug firewallLogLevel = logging.LevelDebug
} }