From 45df497064a1dbfd6db2bf731a5875490ce58ff5 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 21 Nov 2022 17:13:21 -0600 Subject: fix logging issues --- src/slskd/Relay/API/Hubs/RelayHub.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/slskd/Relay/API/Hubs') diff --git a/src/slskd/Relay/API/Hubs/RelayHub.cs b/src/slskd/Relay/API/Hubs/RelayHub.cs index 6b091a39..885ba453 100644 --- a/src/slskd/Relay/API/Hubs/RelayHub.cs +++ b/src/slskd/Relay/API/Hubs/RelayHub.cs @@ -169,7 +169,7 @@ namespace slskd.Relay throw new UnauthorizedAccessException(); } - Log.Warning("Agent {Agent} (connection {ConnectionId}) from {IP} reported upload failure for {Id}: {Message}", id, exception.Message, RemoteIpAddress); + Log.Warning("Agent {Agent} (connection {ConnectionId}) from {IP} reported upload failure for {Id}: {Message}", record.Agent, Context.ConnectionId, RemoteIpAddress, id, exception.Message); Relay.NotifyFileStreamException(id, exception); } -- cgit v1.2.3