Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log: drop PING messages log level #183

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions async.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ func (c *Async) readLoop() {

switch p.Metadata.Operation {
case PING:
c.Logger().Debug().Msg("PING Packet received by read loop, sending back PONG packet")
c.Logger().Trace().Msg("PING Packet received by read loop, sending back PONG packet")
err = c.writePacket(PONGPacket, false)
if err != nil {
c.wg.Done()
Expand All @@ -530,10 +530,10 @@ func (c *Async) readLoop() {
}
packet.Put(p)
case PONG:
c.Logger().Debug().Msg("PONG Packet received by read loop")
c.Logger().Trace().Msg("PONG Packet received by read loop")
packet.Put(p)
case STREAM:
c.Logger().Debug().Msg("STREAM Packet received by read loop")
c.Logger().Trace().Msg("STREAM Packet received by read loop")
isStream = true
c.newStreamHandlerMu.Lock()
newStreamHandler = c.newStreamHandler
Expand Down