From e6806a75219ceb8a5e19cef4c010845c8fc690fd Mon Sep 17 00:00:00 2001 From: "Brandon McGinty (deepseek)" Date: Sun, 9 Aug 2026 02:38:11 -0400 Subject: [PATCH] Promote decrypt/protobuf logs from Debug to Info level Decrypt success, ping responses, unknown message types, and empty-opus packets now log at Info instead of Debug so they're visible without --log=debug. --- gumble/gumble/udp15.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gumble/gumble/udp15.go b/gumble/gumble/udp15.go index 4dda8eb..6919f35 100644 --- a/gumble/gumble/udp15.go +++ b/gumble/gumble/udp15.go @@ -545,7 +545,7 @@ func (c *Client) HandleUDPPacket15(packet []byte, pktNum uint64) { return } - log.Debug("UDP15 #%d: decrypt OK, plaintext_len=%d", pktNum, len(plaintext)) + log.Info("UDP15 #%d: decrypt OK, plaintext_len=%d", pktNum, len(plaintext)) // Check type byte (0x00 = Audio, 0x01 = Ping) if len(plaintext) < 1 { @@ -556,11 +556,11 @@ func (c *Client) HandleUDPPacket15(packet []byte, pktNum uint64) { if msgType == 0x01 { // Ping response — just a timestamp, no action needed. - log.Debug("UDP15 #%d: ping response", pktNum) + log.Info("UDP15 #%d: ping response, ignoring", pktNum) return } if msgType != 0x00 { - log.Debug("UDP15 #%d: unknown message type 0x%02x", pktNum, msgType) + log.Warn("UDP15 #%d: unknown message type 0x%02x", pktNum, msgType) return } @@ -568,6 +568,7 @@ func (c *Client) HandleUDPPacket15(packet []byte, pktNum uint64) { session, frameNum, opusData, terminator := decodeUDPAudio(plaintext) if len(opusData) == 0 && !terminator { + log.Info("UDP15 #%d: no opus data (session=%d frame=%d), skipping", pktNum, session, frameNum) return }