aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/slskd/Application.cs2
-rw-r--r--src/slskd/Users/UserService.cs5
2 files changed, 5 insertions, 2 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs
index d441160e..b0372422 100644
--- a/src/slskd/Application.cs
+++ b/src/slskd/Application.cs
@@ -1456,7 +1456,7 @@ namespace slskd
// and we don't want to incur the massive penalties that would caching data for each request.
var forecastedPosition = Transfers.Uploads.Queue.ForecastPosition(username);
- Log.Information("[{Context}]: Sending {Count} records to {Username} for query '{Query}'", "SEARCH RESULT SENT", results.Count(), username, query.SearchText);
+ Log.Debug("Sending search response with {Count} files to {Username} for query '{Query}'", results.Count(), username, query.SearchText);
Metrics.Search.ResponsesSent.Inc(1);
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)
{