diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-11-01 19:04:17 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-11-01 19:04:17 -0500 |
| commit | 4d45a5fe303c27869db80015c2e540453d073b27 (patch) | |
| tree | adfee75613424bbbf9bb3e8e04bc61f26e531d4a /src/slskd/Network/API | |
| parent | e91142e70607196cc359763c175ed92e900dfcc8 (diff) | |
| download | slskd-4d45a5fe303c27869db80015c2e540453d073b27.tar.gz | |
add verbose logging
Diffstat (limited to 'src/slskd/Network/API')
| -rw-r--r-- | src/slskd/Network/API/Hubs/NetworkHub.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/slskd/Network/API/Hubs/NetworkHub.cs b/src/slskd/Network/API/Hubs/NetworkHub.cs index cf29f15f..fe187909 100644 --- a/src/slskd/Network/API/Hubs/NetworkHub.cs +++ b/src/slskd/Network/API/Hubs/NetworkHub.cs @@ -168,6 +168,8 @@ namespace slskd.Network { if (Network.TryGetAgentRegistration(Context.ConnectionId, out var record)) { + Log.Information("Agent {Agent} (connection {ConnectionId}) returned file info for {Id}; exists: {Exists}, length: {Length}", record.Agent.Name, Context.ConnectionId, id, exists, length); + Network.HandleFileInfoResponse(record.Agent.Name, id, (exists, length)); } |
