Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-387

SocketAppenderSkeleton re-connects only once

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.13.0
    • Appender
    • None
    • Windows XP 32-bit, Visual Studion 2005

    Description

      As has been described in
      https://mail-archives.apache.org/mod_mbox/logging-general/200907.mbox/%3C982644df0907130457o334c6c54o6deaf7253f572956@mail.gmail.com%3E
      the reconnection works only for the first time, when the connection is lost, because after the first reconnection-attempt, the thread-object is non-null.

      Assuming it really should work each time when the connection is lost, either comment it out like in above proposal (which could lead to multiple simultaneous threads trying to reconnect) or set the thread-object to null when the reconnect-thread ends.

      Attachments

        Issue Links

          Activity

            People

              carnold@apache.org Curt Arnold
              gpo Gerhard Pobinger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: