From 913821a6c012b287603230b2dc93191b9f7cfdc9 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 22 Oct 2022 18:36:04 -0500 Subject: add more logs --- src/slskd/Network/NetworkService.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/slskd/Network/NetworkService.cs b/src/slskd/Network/NetworkService.cs index 747602fd..265e5526 100644 --- a/src/slskd/Network/NetworkService.cs +++ b/src/slskd/Network/NetworkService.cs @@ -237,6 +237,7 @@ namespace slskd.Network if (task == wait) { // send the stream back to the caller so it can be used to feed data to the remote client + Log.Information("Agent {Agent} provided file stream for file {Filename} with ID {Id}", agentName, filename, token); var stream = await wait; return stream; } @@ -338,6 +339,7 @@ namespace slskd.Network // will complete. var key = new WaitKey(nameof(GetFileStream), "completion", agentName, filename); Waiter.Complete(key); + Log.Information("Upload of {File} from agent {Agent} reported as completed", filename, agentName); } /// -- cgit v1.2.3