You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Robert Middleton (Jira)" <lo...@logging.apache.org> on 2021/12/27 00:32:00 UTC

[jira] [Updated] (LOGCXX-387) SocketAppenderSkeleton re-connects only once

     [ https://issues.apache.org/jira/browse/LOGCXX-387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Middleton updated LOGCXX-387:
------------------------------------
    Fix Version/s: 0.13.0

> SocketAppenderSkeleton re-connects only once
> --------------------------------------------
>
>                 Key: LOGCXX-387
>                 URL: https://issues.apache.org/jira/browse/LOGCXX-387
>             Project: Log4cxx
>          Issue Type: Bug
>          Components: Appender
>    Affects Versions: 0.10.0
>         Environment: Windows XP 32-bit, Visual Studion 2005
>            Reporter: Gerhard Pobinger
>            Assignee: Curt Arnold
>            Priority: Major
>             Fix For: 0.13.0
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)