@@ -149,7 +149,7 @@ func (ps *ProxyServer) Run() error {
149
149
log .WithFields (log.Fields {
150
150
"error" : hsErr ,
151
151
"clientAddr" : conn .RemoteAddr (),
152
- }).Info ("tls handshake error" )
152
+ }).Debug ("tls handshake error" )
153
153
return
154
154
}
155
155
var state = conn .(* tls.Conn ).ConnectionState ()
@@ -471,15 +471,15 @@ func (h *ProxyHandler) handleProxyConnection(ctx context.Context, conn *tls.Conn
471
471
"clientAddr" : clientAddr ,
472
472
"proto" : state .NegotiatedProtocol ,
473
473
"shard" : shardID ,
474
- }).Warn ("failed to proxy connection" )
474
+ }).Debug ("failed to proxy connection" )
475
475
} else {
476
476
ProxyConnectionsClosedCounter .WithLabelValues (shardID , portStr , "ok" ).Inc ()
477
477
log .WithFields (log.Fields {
478
478
"sni" : sni ,
479
479
"clientAddr" : clientAddr ,
480
480
"proto" : state .NegotiatedProtocol ,
481
481
"shard" : shardID ,
482
- }).Info ("finished proxy connection" )
482
+ }).Debug ("finished proxy connection" )
483
483
}
484
484
}
485
485
@@ -540,7 +540,7 @@ func (h *ProxyHandler) proxyConnection(ctx context.Context, conn *tls.Conn, sni
540
540
"clientAddr" : clientAddr ,
541
541
"reactorAddr" : reactorAddr ,
542
542
"proto" : negotiatedProto ,
543
- }).Info ("starting to proxy connection data" )
543
+ }).Debug ("starting to proxy connection data" )
544
544
545
545
// We're finally ready to copy the data between the connection and our grpc streaming rpc.
546
546
if isHttp (negotiatedProto ) {
@@ -560,7 +560,7 @@ func proxyTcp(ctx context.Context, clientConn *tls.Conn, proxyConn *ProxyConnect
560
560
"hostname" : proxyConn .hostname ,
561
561
"error" : e ,
562
562
"outgoingBytes" : outgoingBytes ,
563
- }).Warn ("copyProxyResponseData completed with error" )
563
+ }).Debug ("copyProxyResponseData completed with error" )
564
564
return e
565
565
} else {
566
566
log .WithFields (log.Fields {
@@ -579,7 +579,7 @@ func proxyTcp(ctx context.Context, clientConn *tls.Conn, proxyConn *ProxyConnect
579
579
"hostname" : proxyConn .hostname ,
580
580
"error" : e ,
581
581
"incomingBytes" : incomingBytes ,
582
- }).Warn ("copyProxyRequestData completed with error" )
582
+ }).Debug ("copyProxyRequestData completed with error" )
583
583
return e
584
584
} else {
585
585
log .WithFields (log.Fields {
0 commit comments