Skip to content

Commit b026042

Browse files
committed
acs: removing a noisy error
We're logging at Error level when ACS discconects. This is great, except for when Agent / ACS reestablish the connection regularly which leads to noisy logs.
1 parent 8f8ef9c commit b026042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: agent/acs/handler/acs_handler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ func (acsSession *session) startACSSession(client wsclient.ClientServer) error {
359359
// Stop receiving and sending messages from and to ACS when
360360
// client.Serve returns an error. This can happen when the
361361
// the connection is closed by ACS or the agent
362-
seelog.Errorf("Error serving to ACS Webserver: %v", err)
362+
seelog.Infof("ACS connection closed: %v", err)
363363
return err
364364
}
365365
}

0 commit comments

Comments
 (0)