You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2024/02/13 08:05:23 UTC

(logging-log4j2) branch 2.x updated (e87064f22d -> 1283528061)

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

vy pushed a change to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


    from e87064f22d Reset the fallback listener on `StatusLogger#reset()` (#2280)
     new 7a7555663c Improve `StatusLogger` javadoc
     new 1283528061 Remove `experimental` flag on GitHub Discussions

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/main/java/org/apache/logging/log4j/status/StatusLogger.java    | 3 ++-
 src/site/asciidoc/support.adoc                                         | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)


(logging-log4j2) 02/02: Remove `experimental` flag on GitHub Discussions

Posted by vy...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 1283528061363a99777dbde44e7905719df81e87
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Tue Feb 13 09:05:09 2024 +0100

    Remove `experimental` flag on GitHub Discussions
---
 src/site/asciidoc/support.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/site/asciidoc/support.adoc b/src/site/asciidoc/support.adoc
index 2207362a51..f6bdcf4bb0 100644
--- a/src/site/asciidoc/support.adoc
+++ b/src/site/asciidoc/support.adoc
@@ -32,7 +32,7 @@ If you have questions like:
 We urge you to first check our link:faq.html[FAQ] to see if it has already been answered.
 If not, you can ask your questions on one of our official user support channels:
 
-* https://github.com/apache/logging-log4j2/discussions[GitHub Discussions] (**experimental**)
+* https://github.com/apache/logging-log4j2/discussions[GitHub Discussions]
 * `log4j-user@logging.apache.org` mailing list (public | mailto:log4j-user-subscribe@logging.apache.org[subscribe] | mailto:log4j-user-unsubscribe@logging.apache.org[unsubscribe] | mailto:log4j-user@logging.apache.org[post] | https://lists.apache.org/list.html?log4j-user&#64;logging.apache.org[archive])
 
 [WARNING]


(logging-log4j2) 01/02: Improve `StatusLogger` javadoc

Posted by vy...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 7a7555663c2537f8d55ba016ec1f2222ed6d8484
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Mon Feb 12 20:33:42 2024 +0100

    Improve `StatusLogger` javadoc
---
 .../src/main/java/org/apache/logging/log4j/status/StatusLogger.java    | 3 ++-
 1 file changed, 2 insertions(+), 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 d605693219..2abc93857d 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
@@ -60,6 +60,7 @@ import org.apache.logging.log4j.util.Constants;
  * <li>Passing system properties to the Java process (e.g., {@code -Dlog4j2.StatusLogger.level=INFO})</li>
  * <li>Providing properties in a {@value StatusLogger#PROPERTIES_FILE_NAME} file in the classpath</li>
  * <li>Using Log4j configuration (i.e., {@code <Configuration status="WARN" dest="out">} in a {@code log4j2.xml} in the classpath)</li>
+ * <li>Programmatically (e.g., {@code StatusLogger.getLogger().setLevel(Level.WARN)})</li>
  * </ol>
  * <p>
  * It is crucial to understand that there is a time between the first {@code StatusLogger} access and a configuration file (e.g., {@code log4j2.xml}) read.
@@ -76,7 +77,7 @@ import org.apache.logging.log4j.util.Constants;
  * </p>
  * <p>
  * {@code StatusLogger} is designed as a singleton class accessed statically.
- * If you are running an application containing multiple Log4j configurations (e.g., in a servlet environment with multiple containers) and you happen to have differing {@code StatusLogger} configurations (e.g, one {@code log4j2.xml} containing {@code <Configuration status="ERROR">} while the other {@code <Configuration status="INFO">}), the last loaded configuration will be effective one.
+ * If you are running an application containing multiple Log4j configurations (e.g., in a servlet environment with multiple containers) and you happen to have differing {@code StatusLogger} configurations (e.g, one {@code log4j2.xml} containing {@code <Configuration status="ERROR">} while the other {@code <Configuration status="INFO">}), the last loaded configuration will be the effective one.
  * </p>
  * <h2>Configuration properties</h3>
  * <p>