aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-10-22 18:36:04 -0500
committerJP Dillingham <jpdillingham@gmail.com>2022-10-22 18:36:04 -0500
commit913821a6c012b287603230b2dc93191b9f7cfdc9 (patch)
tree1d3a0f6e8e8698d110735f915201a70310435ccb /src
parent653c05040acab0f7aff9a98cd959a0c54e05e300 (diff)
downloadslskd-913821a6c012b287603230b2dc93191b9f7cfdc9.tar.gz
add more logs
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Network/NetworkService.cs2
1 files changed, 2 insertions, 0 deletions
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);
}
/// <summary>