You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2019/04/16 12:34:14 UTC

[logging-log4j2] branch master updated: [LOG4J2-2592] StackOverflowException when server not reachable with SocketAppender.

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

ggregory 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 a899144  [LOG4J2-2592] StackOverflowException when server not reachable with SocketAppender.
a899144 is described below

commit a89914472c25aabcc8021be91db72cf7bdd42562
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Apr 16 08:34:10 2019 -0400

    [LOG4J2-2592] StackOverflowException when server not reachable with
    SocketAppender.
---
 .../java/org/apache/logging/log4j/core/net/TcpSocketManager.java    | 2 +-
 src/changes/changes.xml                                             | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/net/TcpSocketManager.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/TcpSocketManager.java
index 6108c0c..9b39bce 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/net/TcpSocketManager.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/TcpSocketManager.java
@@ -319,7 +319,7 @@ public class TcpSocketManager extends AbstractSocketManager {
 
         @Override
         public String toString() {
-            return "Reconnector [latch=" + latch + ", shutdown=" + shutdown + ", owner=" + owner + "]";
+            return "Reconnector [latch=" + latch + ", shutdown=" + shutdown + "]";
         }
     }
 
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index a87fd73..d6b6c1a 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -376,6 +376,9 @@
       <action issue="LOG4J2-2574" dev="ggregory" type="update" due-to="Gary Gregory">
         Update MongoDB 3 module driver from 3.9.0 to 3.10.1.
       </action>
+      <action issue="LOG4J2-2592" dev="ggregory" type="fix" due-to="Dávid Kaya, Gary Gregory">
+        StackOverflowException when server not reachable with SocketAppender.
+      </action>
     </release>
     <release version="2.12.0" date="2019-MM-DD" description="GA Release 2.12.0">
       <action issue="LOG4J2-2586" dev="rgoers" type="add">
@@ -390,6 +393,9 @@
       <action issue="LOG4J2-2570" dev="ggregory" type="fix" due-to="Gary Gregory">
         Update Jackson from 2.9.7 to 2.9.8.
       </action>
+      <action issue="LOG4J2-2592" dev="ggregory" type="fix" due-to="Dávid Kaya, Gary Gregory">
+        StackOverflowException when server not reachable with SocketAppender.
+      </action>
     </release>
     <release version="2.11.2" date="2018-MM-DD" description="GA Release 2.11.2">
       <action issue="LOG4J2-2500" dev="rgoers" type="fix">