Skip to content

Commit

Permalink
Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
voidmain committed Aug 30, 2023
1 parent f249a6d commit a0feb49
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,10 @@ private void cleanup() {
continue;
}

logger.info("Closing connection readingslow=[{}] writingslow=[{}] timedout=[{}]", readingSlow, writingSlow, timedOut);

if (logger.isDebugEnabled()) {
logger.debug("Closing connection readingSlow=[{}] writingSlow=[{}] timedOut=[{}]", readingSlow, writingSlow, timedOut);

var client = (SocketChannel) key.channel();
try {
logger.debug("Closing client connection [{}] due to inactivity", client.getRemoteAddress().toString());
Expand Down

0 comments on commit a0feb49

Please sign in to comment.