diff --git a/common/src/main/java/io/netty/util/ResourceLeakDetector.java b/common/src/main/java/io/netty/util/ResourceLeakDetector.java index 0fba06dd80..d1dbfdd352 100644 --- a/common/src/main/java/io/netty/util/ResourceLeakDetector.java +++ b/common/src/main/java/io/netty/util/ResourceLeakDetector.java @@ -238,11 +238,13 @@ public final class ResourceLeakDetector { logger.error("LEAK: {}.release() was not called before it's garbage-collected. " + "Enable advanced leak reporting to find out where the leak occurred. " + "To enable advanced leak reporting, " + - "specify the JVM option '-D{}={}' or call {}.setLevel()", + "specify the JVM option '-D{}={}' or call {}.setLevel() " + + "See http://netty.io/wiki/reference-counted-objects.html for more information.", resourceType, PROP_LEVEL, Level.ADVANCED.name().toLowerCase(), simpleClassName(this)); } else { logger.error( - "LEAK: {}.release() was not called before it's garbage-collected.{}", + "LEAK: {}.release() was not called before it's garbage-collected. " + + "See http://netty.io/wiki/reference-counted-objects.html for more information.{}", resourceType, records); } } @@ -326,6 +328,7 @@ public final class ResourceLeakDetector { return false; } + @Override public String toString() { if (creationRecord == null) { return ""; diff --git a/handler/src/main/java/io/netty/handler/ssl/OpenSsl.java b/handler/src/main/java/io/netty/handler/ssl/OpenSsl.java index be5154924f..3b23509496 100644 --- a/handler/src/main/java/io/netty/handler/ssl/OpenSsl.java +++ b/handler/src/main/java/io/netty/handler/ssl/OpenSsl.java @@ -62,7 +62,8 @@ public final class OpenSsl { cause = t; logger.debug( "Failed to load netty-tcnative; " + - OpenSslEngine.class.getSimpleName() + " will be unavailable.", t); + OpenSslEngine.class.getSimpleName() + " will be unavailable. " + + "See http://netty.io/wiki/forked-tomcat-native.html for more information.", t); } }