mirror of
https://github.com/google/nomulus
synced 2026-01-09 15:43:52 +00: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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user