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 2022/03/21 11:10:48 UTC

[logging-log4j2] branch release-2.x updated (2ce1346 -> 6f282e6)

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

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


    from 2ce1346  LOG4J2-3393 Improve JsonTemplateLayout performance. (#797)
     new 6767eb1  Fix broken link in MDC manual.
     new 6f282e6  Fix code typo in ThrowableInformation of log4j-1.2-api.

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/log4j/spi/ThrowableInformation.java        | 2 +-
 src/site/xdoc/manual/thread-context.xml                                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

[logging-log4j2] 02/02: Fix code typo in ThrowableInformation of log4j-1.2-api.

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

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

commit 6f282e6b0dbd4f587570c591e6cd1159a7f81aff
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Mon Mar 21 12:10:57 2022 +0100

    Fix code typo in ThrowableInformation of log4j-1.2-api.
---
 .../src/main/java/org/apache/log4j/spi/ThrowableInformation.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/log4j-1.2-api/src/main/java/org/apache/log4j/spi/ThrowableInformation.java b/log4j-1.2-api/src/main/java/org/apache/log4j/spi/ThrowableInformation.java
index 2b46dd5..6726e00 100644
--- a/log4j-1.2-api/src/main/java/org/apache/log4j/spi/ThrowableInformation.java
+++ b/log4j-1.2-api/src/main/java/org/apache/log4j/spi/ThrowableInformation.java
@@ -53,7 +53,7 @@ public class ThrowableInformation implements Serializable {
      * @param r String representation of throwable.
      */
     public ThrowableInformation(final String[] r) {
-        this.rep = rep != null ? r.clone() : null;
+        this.rep = r != null ? r.clone() : null;
     }
 
     /**

[logging-log4j2] 01/02: Fix broken link in MDC manual.

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

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

commit 6767eb118a2b026892b5dad49bd05b14d7230eac
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Mon Mar 21 12:03:06 2022 +0100

    Fix broken link in MDC manual.
---
 src/site/xdoc/manual/thread-context.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/site/xdoc/manual/thread-context.xml b/src/site/xdoc/manual/thread-context.xml
index 2715d7e..ee82932 100644
--- a/src/site/xdoc/manual/thread-context.xml
+++ b/src/site/xdoc/manual/thread-context.xml
@@ -31,7 +31,7 @@
           <h4>Introduction</h4>
           <p>Log4j introduced the concept of the Mapped Diagnostic Context or MDC. It has been documented and
             discussed in numerous places including
-            <a href="https://veerasundar.com/blog/2009/10/log4j-mdc-mapped-diagnostic-context-what-and-why/">Log4j MDC: What and Why</a> and
+            <a href="https://veerasundar.com/blog/log4j-mdc-mapped-diagnostic-context-what-and-why/">Log4j MDC: What and Why</a> and
             <a href="https://blog.f12.no/wp/2004/12/09/log4j-and-the-mapped-diagnostic-context/">Log4j and the Mapped Diagnostic Context</a>.
             In addition, Log4j 1.x provides support for a Nested Diagnostic Context or NDC. It too has been documented
             and discussed in various places such as