aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Users/UserService.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-10-27 15:57:49 -0500
committerGitHub <noreply@github.com>2024-10-27 15:57:49 -0500
commit0968f0990e78375fbb2d94c4f7e2376c0da35f32 (patch)
tree613ac465cea32eb75e2da60e6bc388989d1ecdb7 /src/slskd/Users/UserService.cs
parent5aeea9452d745a8e0c0f38b5c40088258b2f2e74 (diff)
parent97c430aaa8d1d1133eb0d017ca6067e69a22c502 (diff)
downloadslskd-0968f0990e78375fbb2d94c4f7e2376c0da35f32.tar.gz
Merge pull request #1235 from slskd/search-logs
Log search logs at the 'Debug' level
Diffstat (limited to 'src/slskd/Users/UserService.cs')
-rw-r--r--src/slskd/Users/UserService.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/slskd/Users/UserService.cs b/src/slskd/Users/UserService.cs
index d6a92e19..ead1d812 100644
--- a/src/slskd/Users/UserService.cs
+++ b/src/slskd/Users/UserService.cs
@@ -411,7 +411,10 @@ namespace slskd.Users
// the application. these sorts of blacklists should be relatively static (i think)
if (blacklistOptionsHash != LastBlacklistOptionsHash)
{
- Log.Debug("Blacklist options changed: {JSON}", options.Blacklist.ToJson());
+ if (!string.IsNullOrEmpty(LastBlacklistOptionsHash))
+ {
+ Log.Debug("Blacklist options changed: {JSON}", options.Blacklist.ToJson());
+ }
if (!options.Blacklist.Enabled)
{