Ver Fonte

fix(api): demote EventStream disconnect log to debug

Matches the connect line and stops routine disconnects from flooding info logs.

Co-authored-by: Cursor <cursoragent@cursor.com>
jamesread há 15 horas atrás
pai
commit
2ecedfbd22
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      service/internal/api/api.go

+ 1 - 1
service/internal/api/api.go

@@ -1143,7 +1143,7 @@ func (api *oliveTinAPI) EventStream(ctx ctx.Context, req *connect.Request[apiv1.
 
 
 	api.forwardEventsToClient(ctx.Done(), client, srv)
 	api.forwardEventsToClient(ctx.Done(), client, srv)
 
 
-	log.Infof("EventStream: client disconnected")
+	log.Debugf("EventStream: client disconnected")
 
 
 	return nil
 	return nil
 }
 }