Skip to content

Commit 4abb7fa

Browse files
committed
Removed ping/pong messages to reduce log size
1 parent 798eb08 commit 4abb7fa

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

core/src/main/java/xyz/gianlu/librespot/core/Session.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -811,13 +811,12 @@ public void run() {
811811

812812
try {
813813
send(Packet.Type.Pong, packet.payload);
814-
LOGGER.trace(String.format("Handled Ping {payload: %s}", Utils.bytesToHex(packet.payload)));
815814
} catch (IOException ex) {
816815
LOGGER.fatal("Failed sending Pong!", ex);
817816
}
818817
break;
819818
case PongAck:
820-
LOGGER.trace(String.format("Handled PongAck {payload: %s}", Utils.bytesToHex(packet.payload)));
819+
// Silent
821820
break;
822821
case CountryCode:
823822
countryCode = new String(packet.payload);

0 commit comments

Comments
 (0)