Skip to content

Commit f2395ca

Browse files
committed
Removed debug logging from connection type detection
Removed: - Debug logging in GetOnlineInfo that was firing every 10 seconds with stats updates - These logs were creating unnecessary noise in production environments
1 parent d5f80cb commit f2395ca

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

internal/users/userrecord.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -629,9 +629,6 @@ func (u *UserRecord) GetOnlineInfo() OnlineInfo {
629629
port := connections.GetConnectionPort(u.connectionId)
630630
networkConfig := configs.GetNetworkConfig()
631631

632-
// Debug logging
633-
mudlog.Debug("Connection type check", "connectionId", u.connectionId, "port", port, "secureLocalPorts", networkConfig.SecureTelnetLocalPort)
634-
635632
for _, securePortStr := range networkConfig.SecureTelnetLocalPort {
636633
securePort, _ := strconv.Atoi(securePortStr)
637634
if securePort > 0 && port == securePort {

0 commit comments

Comments
 (0)