[logback-dev] [JIRA] Created: (LBCLASSIC-128) SocketAppender missing log messages after restart of SimpleSocketServer

Rick Janda (JIRA) noreply-jira at qos.ch
Fri May 15 16:56:10 CEST 2009


SocketAppender missing log messages after restart of SimpleSocketServer
-----------------------------------------------------------------------

                 Key: LBCLASSIC-128
                 URL: http://jira.qos.ch/browse/LBCLASSIC-128
             Project: logback-classic
          Issue Type: Bug
          Components: appender
    Affects Versions: 0.9.15
            Reporter: Rick Janda
            Assignee: Logback dev list


Hello Logback team,

I have a couple of web apps running in a tomcat and sending some log messages to a SimpleSocketServer.
Every webapp is using its own LoggingContext by means of the JNDIContextSelector.

The SocketAppender is configures as followed:

    <appender name="SOCKET" class="ch.qos.logback.classic.net.SocketAppender">
        <RemoteHost>192.168.100.161</RemoteHost>
        <Port>6000</Port>
        <ReconnectionDelay>1000</ReconnectionDelay>
        <IncludeCallerData>false</IncludeCallerData>
    </appender>

In general, this constellation works fine for me. But if I restart the SimpleSocketServer only some of the webapps seem properly reconnect to the SimpleSocketServer.
Newly created log messages of a few of the webapps do not show up on the SimpleSocketServer side at all any more.

After restart of the Tomcat with all the webapps, all new log entries are transmitted properly again to the SimpleSocketServer.

Fixing this issue would really helps me as I do not have to restart all the Tomcats delivering there log messages to the single SimpleSocketServer after restarting it.

Thanx in advance for your help and have a good weekend,
Rick


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list