mirror of
https://github.com/google/nomulus.git
synced 2025-08-03 16:32:11 +02:00
Improve some log messages for readability/consistency (#1333)
* Improve some log messages for readability/consistency * Address code review comments
This commit is contained in:
parent
3efb2bc509
commit
703c8edd8c
100 changed files with 252 additions and 250 deletions
|
@ -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."));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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.");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue