Improve some log messages for readability/consistency (#1333)

* Improve some log messages for readability/consistency

* Address code review comments
This commit is contained in:
Ben McIlwain 2021-09-27 11:35:14 -04:00 committed by GitHub
parent 3efb2bc509
commit 703c8edd8c
100 changed files with 252 additions and 250 deletions

View file

@ -97,7 +97,7 @@ public abstract class ActionHandler extends SimpleChannelInboundHandler<InboundM
// As this was an ERROR in performing the action, we must close the channel
ChannelFuture closedFuture = ctx.channel().close();
closedFuture.addListener(f -> logger.atInfo().log("Unsuccessful channel connection closed"));
closedFuture.addListener(f -> logger.atInfo().log("Unsuccessful channel connection closed."));
}
}
}

View file

@ -145,7 +145,7 @@ public class WebWhoisActionHandler extends ActionHandler {
future.addListener(
f -> {
if (f.isSuccess()) {
logger.atInfo().log("Successfully Closed Connection.");
logger.atInfo().log("Successfully closed connection.");
} else {
logger.atWarning().log("Channel was unsuccessfully closed.");
}