diff --git a/pkg/c2s/router.go b/pkg/c2s/router.go index 2c8738255..30285008c 100644 --- a/pkg/c2s/router.go +++ b/pkg/c2s/router.go @@ -94,7 +94,6 @@ func (r *c2sRouter) Register(stm stream.C2S) error { if err := r.local.Register(stm); err != nil { return err } - level.Info(r.logger).Log("msg", "registered C2S stream", "id", stm.ID()) return nil } @@ -113,7 +112,6 @@ func (r *c2sRouter) Unregister(stm stream.C2S) error { if err := r.local.Unregister(stm); err != nil { return err } - level.Info(r.logger).Log("msg", "unregistered C2S stream", "id", stm.ID()) return nil } diff --git a/pkg/c2s/socket_listener.go b/pkg/c2s/socket_listener.go index 487cfb4b0..92dfc13a6 100644 --- a/pkg/c2s/socket_listener.go +++ b/pkg/c2s/socket_listener.go @@ -187,10 +187,6 @@ func (l *SocketListener) Start(ctx context.Context) error { if err != nil { continue } - level.Info(l.logger).Log("msg", "received C2S incoming connection", - "bind_addr", l.getAddress(), - "remote_address", conn.RemoteAddr().String(), - ) go l.connHandlerFn(conn) } diff --git a/pkg/s2s/socket_listener.go b/pkg/s2s/socket_listener.go index bd9947def..8d49d9bf5 100644 --- a/pkg/s2s/socket_listener.go +++ b/pkg/s2s/socket_listener.go @@ -147,10 +147,6 @@ func (l *SocketListener) Start(ctx context.Context) error { if err != nil { continue } - level.Info(l.logger).Log("msg", "received S2S incoming connection", - "bind_addr", l.getAddress(), - "remote_address", conn.RemoteAddr().String(), - ) go l.connHandlerFn(conn) }