mirror of
https://github.com/google/nomulus.git
synced 2025-05-02 04:57:51 +02:00
Reduce web WHOIS error log level to warning
There's not much we can do when the user sends incorrect HTTP requests or cannot finish SSL handshake (the problematic requests are likely from bots anyway). Reducing the log level to warning in order to reduce spamming. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=207159118
This commit is contained in:
parent
a111ff0b0a
commit
3f55216b21
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ public class WebWhoisRedirectHandler extends SimpleChannelInboundHandler<HttpReq
|
|||
|
||||
@Override
|
||||
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
|
||||
logger.atSevere().withCause(cause).log(
|
||||
logger.atWarning().withCause(cause).log(
|
||||
(isHttps ? "HTTPS" : "HTTP") + " WHOIS inbound exception caught for channel %s",
|
||||
ctx.channel());
|
||||
ChannelFuture unusedFuture = ctx.close();
|
||||
|
|
Loading…
Add table
Reference in a new issue