You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ck...@apache.org on 2022/01/07 14:22:46 UTC

[logging-log4j2] branch master updated: Fix StatusLogger Javadoc (#681)

This is an automated email from the ASF dual-hosted git repository.

ckozak pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/master by this push:
     new af0c93e  Fix StatusLogger Javadoc (#681)
af0c93e is described below

commit af0c93e2eb023c19f8b1480d058c789dd7b84daa
Author: Marius Volkhart <ma...@volkhart.com>
AuthorDate: Fri Jan 7 07:53:09 2022 -0500

    Fix StatusLogger Javadoc (#681)
    
    The Javadoc explaining how to override the StatusLogger level linked to the wrong property.
---
 .../src/main/java/org/apache/logging/log4j/status/StatusLogger.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/status/StatusLogger.java b/log4j-api/src/main/java/org/apache/logging/log4j/status/StatusLogger.java
index 3de75f6..cf7124b 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/status/StatusLogger.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/status/StatusLogger.java
@@ -45,7 +45,7 @@ import org.apache.logging.log4j.util.Strings;
  * Records events that occur in the logging system. By default, only error messages are logged to {@link System#err}.
  * Normally, the Log4j StatusLogger is configured via the root {@code <Configuration status="LEVEL"/>} node in a Log4j
  * configuration file. However, this can be overridden via a system property named
- * "{@value SimpleLoggerContext#SYSTEM_PREFIX}StatusLogger.level" and will work with any Log4j provider.
+ * {@value #DEFAULT_STATUS_LISTENER_LEVEL} and will work with any Log4j provider.
  *
  * @see SimpleLogger
  * @see SimpleLoggerContext