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:11:20 UTC

[logging-log4j2] branch master updated: LOG4J2-2758 - add serialization uuid

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


The following commit(s) were added to refs/heads/master by this push:
     new 44e5459  LOG4J2-2758 - add serialization uuid
44e5459 is described below

commit 44e54597c82c9185f4bdd3722ea38eae780ba3a5
Author: Ralph Goers <rg...@apache.org>
AuthorDate: Sat Feb 8 21:11:09 2020 -0700

    LOG4J2-2758 - add serialization uuid
---
 .../main/java/org/apache/logging/log4j/internal/DefaultLogBuilder.java | 2 ++
 src/changes/changes.xml                                                | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/internal/DefaultLogBuilder.java b/log4j-api/src/main/java/org/apache/logging/log4j/internal/DefaultLogBuilder.java
index 47e15af..8588e35 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/internal/DefaultLogBuilder.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/internal/DefaultLogBuilder.java
@@ -32,6 +32,8 @@ import org.apache.logging.log4j.util.Supplier;
  * Collects data for a log event and then logs it. This class should be considered private.
  */
 public class DefaultLogBuilder implements LogBuilder {
+
+    private static final long serialVersionUID = 8851553895299192531L;
     private static Message EMPTY_MESSAGE = new SimpleMessage("");
     private static final String FQCN = DefaultLogBuilder.class.getName();
     private static final Logger LOGGER = StatusLogger.getLogger();
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 68da317..4e5eadc 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -166,6 +166,9 @@
       </action>
     </release>
     <release version="2.13.1" date="2019-MM-DD" description="GA Release 2.13.1">
+      <action issue="LOG4J2-2758" dev="rgoers" type="fix" due-to="Christoph Kaser">
+        NullPointerException when using a custom DirectFileRolloverStrategy without a file name.
+      </action>
       <action issue="LOG4J2-2768" dev="rgoers" type="fix" due-to="Marius Volkhart">
         Add mulit-parameter overloads to LogBuilder.
       </action>