feat: Log connection details when PublicServer is enabled

This commit is contained in:
HueByte
2026-02-19 06:21:40 +01:00
parent 15b6443cf0
commit ff0ab068dc
@@ -33,6 +33,8 @@ public sealed class ServerDirectoryService(
var serverName = configuration["Server:Name"] ?? "EchoHub Server"; var serverName = configuration["Server:Name"] ?? "EchoHub Server";
var description = configuration["Server:Description"]; var description = configuration["Server:Description"];
logger.LogInformation("PublicServer is enabled — connecting to EchoHubSpace directory as {Name} ({Host})", serverName, host);
_connection = new HubConnectionBuilder() _connection = new HubConnectionBuilder()
.WithUrl(DirectoryHubUrl) .WithUrl(DirectoryHubUrl)
.WithAutomaticReconnect() .WithAutomaticReconnect()