Skip to content

Commit

Permalink
TESTS: Move netty leak detection to paranoid level (elastic#32354)
Browse files Browse the repository at this point in the history
  • Loading branch information
original-brownbear committed Jul 27, 2018
1 parent 86a2c7d commit 2924d1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public static void resetPortCounter() {
System.setProperty("log4j2.disable.jmx", "true");

// Enable Netty leak detection and monitor logger for logged leak errors
System.setProperty("io.netty.leakDetection.level", "advanced");
System.setProperty("io.netty.leakDetection.level", "paranoid");
String leakLoggerName = "io.netty.util.ResourceLeakDetector";
Logger leakLogger = LogManager.getLogger(leakLoggerName);
Appender leakAppender = new AbstractAppender(leakLoggerName, null,
Expand Down

0 comments on commit 2924d1b

Please sign in to comment.