From ff0ab068dca190cf14cf89366f0c5a7085d21a03 Mon Sep 17 00:00:00 2001 From: HueByte Date: Thu, 19 Feb 2026 06:21:40 +0100 Subject: [PATCH] feat: Log connection details when PublicServer is enabled --- src/EchoHub.Server/Services/ServerDirectoryService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/EchoHub.Server/Services/ServerDirectoryService.cs b/src/EchoHub.Server/Services/ServerDirectoryService.cs index 44b96fc..b066c70 100644 --- a/src/EchoHub.Server/Services/ServerDirectoryService.cs +++ b/src/EchoHub.Server/Services/ServerDirectoryService.cs @@ -33,6 +33,8 @@ public sealed class ServerDirectoryService( var serverName = configuration["Server:Name"] ?? "EchoHub Server"; var description = configuration["Server:Description"]; + logger.LogInformation("PublicServer is enabled — connecting to EchoHubSpace directory as {Name} ({Host})", serverName, host); + _connection = new HubConnectionBuilder() .WithUrl(DirectoryHubUrl) .WithAutomaticReconnect()