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/01/23 09:04:33 UTC
(logging-log4j2) branch 2.x updated (6d84367233 -> dd4a78002f)
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 6d84367233 Deprecate `StatusConsoleListener` filters (#2226)
new e84b80b0b8 Remove `verbose` from properties configurations (#2226)
new dd4a78002f Update auto-generated changelogs (#2226)
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:
.../log4j/core/config/properties/PropertiesConfigurationBuilder.java | 2 --
src/site/_release-notes/_2.x.x.adoc | 1 +
2 files changed, 1 insertion(+), 2 deletions(-)
(logging-log4j2) 02/02: Update auto-generated changelogs (#2226)
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 dd4a78002fd194752ba29379c3536d6201a0d5e5
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Tue Jan 23 09:15:39 2024 +0100
Update auto-generated changelogs (#2226)
---
src/site/_release-notes/_2.x.x.adoc | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/site/_release-notes/_2.x.x.adoc b/src/site/_release-notes/_2.x.x.adoc
index 97e8949fa2..426c337ae1 100644
--- a/src/site/_release-notes/_2.x.x.adoc
+++ b/src/site/_release-notes/_2.x.x.adoc
@@ -31,6 +31,7 @@ This releases contains ...
[#release-notes-2-x-x-deprecated]
=== Deprecated
+* Deprecate the configuration attribute `verbose` (i.e., `<Configuration verbose="..."`) and `StatusConsoleListener` filters (https://github.com/apache/logging-log4j2/pull/2226[2226])
* Deprecated the `RingBufferLogEventHandler` class for removal from the public API in 3.x
[#release-notes-2-x-x-fixed]
(logging-log4j2) 01/02: Remove `verbose` from properties configurations (#2226)
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 e84b80b0b850f434db6211a427ef7f4f23d92b74
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Tue Jan 23 09:05:33 2024 +0100
Remove `verbose` from properties configurations (#2226)
---
.../log4j/core/config/properties/PropertiesConfigurationBuilder.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/properties/PropertiesConfigurationBuilder.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/properties/PropertiesConfigurationBuilder.java
index 6175863299..6dc9fd6957 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/properties/PropertiesConfigurationBuilder.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/properties/PropertiesConfigurationBuilder.java
@@ -56,7 +56,6 @@ public class PropertiesConfigurationBuilder extends ConfigurationBuilderFactory
private static final String STATUS_KEY = "status";
private static final String SHUTDOWN_HOOK = "shutdownHook";
private static final String SHUTDOWN_TIMEOUT = "shutdownTimeout";
- private static final String VERBOSE = "verbose";
private static final String DEST = "dest";
private static final String PACKAGES = "packages";
private static final String CONFIG_NAME = "name";
@@ -92,7 +91,6 @@ public class PropertiesConfigurationBuilder extends ConfigurationBuilderFactory
.setShutdownHook(rootProperties.getProperty(SHUTDOWN_HOOK))
.setShutdownTimeout(
Long.parseLong(rootProperties.getProperty(SHUTDOWN_TIMEOUT, "0")), TimeUnit.MILLISECONDS)
- .setVerbosity(rootProperties.getProperty(VERBOSE))
.setDestination(rootProperties.getProperty(DEST))
.setPackages(rootProperties.getProperty(PACKAGES))
.setConfigurationName(rootProperties.getProperty(CONFIG_NAME))