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:
parent
458129a85a
commit
5da940532d
|
@ -101,12 +101,8 @@ class Netty4InternalESLogger extends AbstractInternalLogger {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void info(String msg) {
|
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
|
@Override
|
||||||
public void info(String format, Object arg) {
|
public void info(String format, Object arg) {
|
||||||
|
|
Loading…
Reference in New Issue