From b0a4c87111e8accbbf3cf6cabbd0e4203059187b Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 4 Oct 2025 21:20:08 -0500 Subject: improve logging of DownloadDenied and DownloadFailed events --- src/slskd/Application.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index d8dab87c..7efd5c0d 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -187,8 +187,8 @@ namespace slskd Client.LoggedIn += Client_LoggedIn; Client.StateChanged += Client_StateChanged; Client.DistributedNetworkStateChanged += Client_DistributedNetworkStateChanged; - Client.DownloadDenied += (e, args) => Log.Information("Download of {Filename} from {Username} was denied: {Message}", args.Filename, args.Username, args.Message); - Client.DownloadFailed += (e, args) => Log.Information("Download of {Filename} from {Username} failed", args.Filename, args.Username); + Client.DownloadDenied += (e, args) => Log.Error("Download of {Filename} from {Username} was denied by the remote user: {Message}", args.Filename, args.Username, args.Message); + Client.DownloadFailed += (e, args) => Log.Error("Download of {Filename} from {Username} reported as failed by the remote user", args.Filename, args.Username); Client.ExcludedSearchPhrasesReceived += Client_ExcludedSearchPhrasesReceived; -- cgit v1.2.3