diff --git a/nucleus/glassfish-jul-extension/src/main/java/org/glassfish/main/jul/cfg/GlassFishLogManagerConfiguration.java b/nucleus/glassfish-jul-extension/src/main/java/org/glassfish/main/jul/cfg/GlassFishLogManagerConfiguration.java index 463e2c58c9ae..77364282a841 100644 --- a/nucleus/glassfish-jul-extension/src/main/java/org/glassfish/main/jul/cfg/GlassFishLogManagerConfiguration.java +++ b/nucleus/glassfish-jul-extension/src/main/java/org/glassfish/main/jul/cfg/GlassFishLogManagerConfiguration.java @@ -100,11 +100,11 @@ public boolean isTracingEnabled() { * GJULE will detect the caller class and method from stacktrace, * which is quite expensive operation affecting logging throughput. *

- * If it is set to null, GJULE will not perform such detection. + * If it is set to false, GJULE will not perform such detection. *

- * If the property is not set, GJULE makes the decision based on known handlers - * (*.printSource value) - if any handler requires this feature, it is enabled. - * It is disabled otherwise or you can forcibly enable it by setting the value to true or false. + * If the property is not set, GJULE makes the decision based on the(*.printSource + * property of known handlers) - if any handler requires this feature, the feature is enabled. + * It is disabled otherwise. * * @return true if handlers can use source class and method in formatters. */ diff --git a/nucleus/glassfish-jul-extension/src/main/java/org/glassfish/main/jul/cfg/GlassFishLoggingConstants.java b/nucleus/glassfish-jul-extension/src/main/java/org/glassfish/main/jul/cfg/GlassFishLoggingConstants.java index d24c32fda5e7..339d343170d2 100644 --- a/nucleus/glassfish-jul-extension/src/main/java/org/glassfish/main/jul/cfg/GlassFishLoggingConstants.java +++ b/nucleus/glassfish-jul-extension/src/main/java/org/glassfish/main/jul/cfg/GlassFishLoggingConstants.java @@ -72,11 +72,11 @@ public class GlassFishLoggingConstants { * If this key is set to true, GJULE will detect the caller class and method from stacktrace, * which is quite expensive operation affecting logging throughput. *

- * If it is set to null, GJULE will not perform such detection. + * If it is set to false, GJULE will not perform such detection. *

- * If the property is not set, GJULE makes the decision based on known handlers - * (*.printSource value) - if any handler requires this feature, it is enabled. - * It is disabled otherwise or you can forcibly enable it by setting the value to true or false. + * If the property is not set, GJULE makes the decision based on the (*.printSource + * property of known handlers) - if any handler requires this feature, the feature is enabled. + * It is disabled otherwise. */ public static final String KEY_CLASS_AND_METHOD_DETECTION_ENABLED = "org.glassfish.main.jul.classAndMethodDetection.enabled"; /**