Log4j 2
  1. Log4j 2
  2. LOG4J2-119

Socket/Syslog reconnectionDelay results in constant reconnects

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta2
    • Fix Version/s: 2.0-beta4
    • Component/s: Appenders
    • Labels:
    • Environment:

      Java 1.6.0_24

      Description

      When a Socket or Syslog appender is configured with a reconnectionDelay greater than zero, any interruption in the receiving server socket results in repeated reconnect attempts, even after the connection is restored.

      1. log4j2.xml
        0.4 kB
        Scott Severtson
      2. TestReconnectBehavior.java
        3 kB
        Scott Severtson

        Activity

        Scott Severtson created issue -
        Scott Severtson made changes -
        Field Original Value New Value
        Attachment TestReconnectBehavior.java [ 12553671 ]
        Scott Severtson made changes -
        Attachment log4j2.xml [ 12553672 ]
        Scott Severtson made changes -
        Priority Major [ 3 ] Critical [ 2 ]
        Ralph Goers made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Ralph Goers [ ralph.goers@dslextreme.com ]
        Fix Version/s 2.0-beta4 [ 12323477 ]
        Resolution Fixed [ 1 ]
        Scott Severtson made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ralph Goers
            Reporter:
            Scott Severtson
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development