You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2020/03/28 20:35:29 UTC
[logging-log4j2] branch master updated (3f2f0d3 -> bab0242)
This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git.
from 3f2f0d3 Adding target to Console appender (#354)
new 0b7592c fix bug:support includeLocation for AsyncLogger (#352)
new bab0242 LOG4J2-2811 - Add missing includeLocation parameter when creating AsyncLogger.
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/builder/impl/DefaultConfigurationBuilder.java | 3 ++-
src/changes/changes.xml | 3 +++
2 files changed, 5 insertions(+), 1 deletion(-)
[logging-log4j2] 01/02: fix bug:support includeLocation for
AsyncLogger (#352)
Posted by rg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit 0b7592c8b30d880f7c617c0e42daca606934c20b
Author: Kuojian21 <Ku...@gmail.com>
AuthorDate: Sun Mar 29 04:27:17 2020 +0800
fix bug:support includeLocation for AsyncLogger (#352)
---
.../log4j/core/config/builder/impl/DefaultConfigurationBuilder.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/impl/DefaultConfigurationBuilder.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/impl/DefaultConfigurationBuilder.java
index 688cc1d..4d703fa 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/impl/DefaultConfigurationBuilder.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/impl/DefaultConfigurationBuilder.java
@@ -23,6 +23,7 @@ import java.lang.reflect.Constructor;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
+
import javax.xml.stream.XMLOutputFactory;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamWriter;
@@ -382,7 +383,7 @@ public class DefaultConfigurationBuilder<T extends BuiltConfiguration> implement
@Override
public LoggerComponentBuilder newAsyncLogger(final String name, final String level, final boolean includeLocation) {
- return new DefaultLoggerComponentBuilder(this, name, level, "AsyncLogger");
+ return new DefaultLoggerComponentBuilder(this, name, level, "AsyncLogger", includeLocation);
}
@Override
[logging-log4j2] 02/02: LOG4J2-2811 - Add missing includeLocation
parameter when creating AsyncLogger.
Posted by rg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit bab0242eaae64103f7b766a09e22199f60d12795
Author: Ralph Goers <rg...@apache.org>
AuthorDate: Sat Mar 28 13:35:15 2020 -0700
LOG4J2-2811 - Add missing includeLocation parameter when creating AsyncLogger.
---
src/changes/changes.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 57528ce..3056109 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -169,6 +169,9 @@
</action>
</release>
<release version="2.13.2" date="2020-MM-DD" description="GA Release 2.13.2">
+ <action issue="LOG4J2-2811" dev="rgoers" type="fix" due-to="Kuojian21">
+ Add missing includeLocation parameter when creating AsyncLogger.
+ </action>
<action issue="LOG4J2-2761" dev="rgoers" type="fix" due-to="Uwe Schindler">
Fix Exceptions when whitespace is in the file path and Java security manager is used.
</action>