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

SocketAppenderSkeleton re-connects only once

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.10.0
    • Fix Version/s: None
    • Component/s: Appender
    • Labels:
      None
    • Environment:
      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

          Activity

            People

            • Assignee:
              carnold@apache.org Curt Arnold
              Reporter:
              gpo Gerhard Pobinger

              Dates

              • Created:
                Updated:

                Issue deployment