Skip to content

Commit

Permalink
Reduce verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
jjxtra committed Jun 14, 2022
1 parent a3b02f9 commit 87872a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions IPBanCore/Core/IPBan/IPBanService_Private.cs
Original file line number Diff line number Diff line change
Expand Up @@ -685,9 +685,9 @@ private async Task HandleFirewallConfigChange()
SetupWindowsEventViewer();

// add/update global rules
Logger.Info("Updating global whitelist with {0} ip addresses", Config.WhitelistFilter.IPAddressRanges.Count);
Logger.Debug("Updating global whitelist with {0} ip addresses", Config.WhitelistFilter.IPAddressRanges.Count);
await Firewall.AllowIPAddresses("GlobalWhitelist", Config.WhitelistFilter.IPAddressRanges);
Logger.Info("Updating global blacklist with {0} ip addresses", Config.BlacklistFilter.IPAddressRanges.Count);
Logger.Debug("Updating global blacklist with {0} ip addresses", Config.BlacklistFilter.IPAddressRanges.Count);
await Firewall.BlockIPAddresses("GlobalBlacklist", Config.BlacklistFilter.IPAddressRanges);

// add/update user specified rules
Expand Down

0 comments on commit 87872a4

Please sign in to comment.