diff options
author | vnugent <public@vaughnnugent.com> | 2024-03-24 20:55:01 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-03-24 20:55:01 -0400 |
commit | a504435151efbe1d19404fa44859b15c629f6d5d (patch) | |
tree | 4eb1bd863074e64922e35ff730f354ac40528698 /plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs | |
parent | c74440ff12daa03cc4b7792d0c3baad46a11a465 (diff) |
chore: Updated compose and added some more logging
Diffstat (limited to 'plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs')
-rw-r--r-- | plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs b/plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs index 8368d3a..42f406a 100644 --- a/plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs +++ b/plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs @@ -244,6 +244,8 @@ namespace VNLib.Data.Caching.ObjectCache.Server.Endpoints { WsUserState state = wss.UserState!; + Log.Debug("Client established websocket connection {sid}", wss.SocketID); + //Notify peers of new connection Peers.OnPeerConnected(state); @@ -307,7 +309,7 @@ namespace VNLib.Data.Caching.ObjectCache.Server.Endpoints //Notify monitor of disconnect Peers.OnPeerDisconnected(state); - Log.Debug("Server websocket exited"); + Log.Debug("Client websocket disconnected {sid}", wss.SocketID); } |