Lower packet/frame logs to trace and player with closed connection (#527)
This commit is contained in:
@@ -526,6 +526,7 @@ func (c *Connector) cleanupBackendConnection(clientAddr net.Addr, serverAddress
|
||||
logrus.
|
||||
WithField("client", clientAddr).
|
||||
WithField("backendHostPort", backendHostPort).
|
||||
WithField("player", playerInfo).
|
||||
WithField("connectionCount", c.activeConnections.GetCount(backendHostPort)).
|
||||
Info("Closed connection to backend")
|
||||
if checkScaleDown && c.scaleActiveConnections.GetCount(scalingTarget) <= 0 {
|
||||
|
||||
@@ -482,6 +482,9 @@ func (w *dockerWatcherImpl) listContainers(ctx context.Context) ([]*routableCont
|
||||
if !data.notRunning {
|
||||
endpoint = fmt.Sprintf("%s:%d", data.ip, data.port)
|
||||
}
|
||||
logrus.WithField("backendEndpoint", endpoint).
|
||||
WithField("containerID", container.ID).
|
||||
Debug("Found routable Docker container")
|
||||
|
||||
for _, host := range data.hosts {
|
||||
result = append(result, &routableContainer{
|
||||
|
||||
Reference in New Issue
Block a user