Remove Netty logging hack (#24653)

Netty removed a logging guarded we added to prevent a scary logging
message. We added a hack to work around this. They've added the guard
back, so we can remove the hack now.
This commit is contained in:
Jason Tedor 2017-05-12 16:05:13 -04:00 committed by GitHub
parent 458129a85a
commit 5da940532d
1 changed files with 1 additions and 5 deletions

View File

@ -101,11 +101,7 @@ class Netty4InternalESLogger extends AbstractInternalLogger {
@Override
public void info(String msg) {
if (!("Your platform does not provide complete low-level API for accessing direct buffers reliably. " +
"Unless explicitly requested, heap buffer will always be preferred to avoid potential system " +
"instability.").equals(msg)) {
logger.info(msg);
}
logger.info(msg);
}
@Override