diff --git a/pkg/server/router/tcp/postgres.go b/pkg/server/router/tcp/postgres.go index 99a658c0e..5d773704f 100644 --- a/pkg/server/router/tcp/postgres.go +++ b/pkg/server/router/tcp/postgres.go @@ -29,7 +29,7 @@ func isPostgres(br *bufio.Reader) (bool, error) { if err != nil { var opErr *net.OpError if !errors.Is(err, io.EOF) && (!errors.As(err, &opErr) || !opErr.Timeout()) { - log.Error().Err(err).Msg("Error while Peeking first byte") + log.Debug().Err(err).Msg("Error while peeking first bytes") } return false, err } diff --git a/pkg/server/router/tcp/router.go b/pkg/server/router/tcp/router.go index 9356e0d69..0f5c8f843 100644 --- a/pkg/server/router/tcp/router.go +++ b/pkg/server/router/tcp/router.go @@ -364,7 +364,7 @@ func clientHelloInfo(br *bufio.Reader) (*clientHello, error) { if err != nil { var opErr *net.OpError if !errors.Is(err, io.EOF) && (!errors.As(err, &opErr) || !opErr.Timeout()) { - log.Debug().Err(err).Msg("Error while Peeking first byte") + log.Debug().Err(err).Msg("Error while peeking first byte") } return nil, err }