Skip to content

Commit

Permalink
Reducing logging for smb3 (#650)
Browse files Browse the repository at this point in the history
For each smb3 packet there's an info log message which produces a tremendous amount of output.
I would suggest to reduce log level to debug (or trace; similarly as in one of the other packet reciever classes).
  • Loading branch information
ndimitry authored Jul 2, 2021
1 parent 42ea7ff commit 08db0cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ protected boolean canHandle(SMBPacketData<?> packetData) {
@Override
protected void doHandle(SMBPacketData<?> packetData) throws TransportException {
SMB3EncryptedPacketData data = (SMB3EncryptedPacketData) packetData;
logger.info("Decrypting packet {}", data);
logger.debug("Decrypting packet {}", data);

if (!encryptor.canDecrypt(data)) {
next.handle(new DeadLetterPacketData(packetData.getHeader()));
Expand Down

0 comments on commit 08db0cf

Please sign in to comment.