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/02/09 04:14:21 UTC

[logging-log4j2] branch release-2.x updated (2f44dc0 -> 5d7f5c5)

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

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


    from 2f44dc0  Fix build errors
     new 4e421ed  Fixed log message in RollingFileAppender (#330)
     new 5d7f5c5  Update changes.xml

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:
 .../org/apache/logging/log4j/core/appender/RollingFileAppender.java   | 2 +-
 src/changes/changes.xml                                               | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)


[logging-log4j2] 02/02: Update changes.xml

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

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

commit 5d7f5c5fb457da1cbbfc736a20ee375910163310
Author: Ralph Goers <rg...@apache.org>
AuthorDate: Sat Feb 8 21:14:04 2020 -0700

    Update changes.xml
---
 src/changes/changes.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 57c391e..5f43ffe 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -30,6 +30,10 @@
          - "remove" - Removed
     -->
     <release version="2.13.1" date="2019-MM-DD" description="GA Release 2.13.1">
+      <action issue="LOG4J2-2776" dev="rgoers" type="fix" due-to="Christoph Kaser">
+        An error message in RollingFileAppender uses a placeholder for the name but does not specify the name
+        argument in the logging call
+      </action>
       <action issue="LOG4J2-2758" dev="rgoers" type="fix" due-to="Christoph Kaser">
         NullPointerException when using a custom DirectFileRolloverStrategy without a file name.
       </action>


[logging-log4j2] 01/02: Fixed log message in RollingFileAppender (#330)

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

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

commit 4e421edd84177cc82e0bc896fcd44080cbb66ba1
Author: ChristophKaser <Ch...@users.noreply.github.com>
AuthorDate: Sun Feb 9 05:09:23 2020 +0100

    Fixed log message in RollingFileAppender (#330)
---
 .../org/apache/logging/log4j/core/appender/RollingFileAppender.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RollingFileAppender.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RollingFileAppender.java
index 8373441..5fc2728 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RollingFileAppender.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RollingFileAppender.java
@@ -138,7 +138,7 @@ public final class RollingFileAppender extends AbstractOutputStreamAppender<Roll
                                         .build();
                 }
             } else if (fileName == null && !(strategy instanceof DirectFileRolloverStrategy)) {
-                LOGGER.error("RollingFileAppender '{}': When no file name is provided a DirectFilenameRolloverStrategy must be configured");
+                LOGGER.error("RollingFileAppender '{}': When no file name is provided a DirectFilenameRolloverStrategy must be configured", getName());
                 return null;
             }