[logback-dev] [JIRA] Commented: (LBCLASSIC-193) SyslogAppender quits after a while

Ingo Siebert (JIRA) noreply-jira at qos.ch
Mon Mar 15 14:49:16 CET 2010


    [ http://jira.qos.ch/browse/LBCLASSIC-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11614#action_11614 ] 

Ingo Siebert commented on LBCLASSIC-193:
----------------------------------------

Ok, the last message of my app-server 5 is at 9:46 am.

In my catalina.log is the following message:

09:47:04,471 |-ERROR in ch.qos.logback.classic.net.SyslogAppender[SysLogAppender] - Failed to send diagram to 192.168.37.30 java.io.IOException: Message too long
	at java.io.IOException: Message too long
	at 	at java.net.PlainDatagramSocketImpl.send(Native Method)
	at 	at java.net.DatagramSocket.send(DatagramSocket.java:612)
	at 	at ch.qos.logback.core.net.SyslogWriter.flush(SyslogWriter.java:50)
	at 	at ch.qos.logback.core.net.SyslogAppenderBase.append(SyslogAppenderBase.java:84)
	at 	at ch.qos.logback.core.AppenderBase.doAppend(AppenderBase.java:87)
	at 	at ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:60)
	at 	at ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:271)
	at 	at ch.qos.logback.classic.Logger.callAppenders(Logger.java:258)
	at 	at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:440)
	at 	at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:394)
	at 	at ch.qos.logback.classic.Logger.error(Logger.java:541)
	at 	at de.cas.open.rapclient.base.core.internal.logging.Slf4jLogger.error(Slf4jLogger.java:61)
	at 	at de.cas.open.rapclient.base.core.rap.servicehandler.ScriptErrorHandler.handleRequest(ScriptErrorHandler.java:47)
	at 	at de.cas.open.rapclient.base.core.rap.servicehandler.AbstractServiceHandler.service(AbstractServiceHandler.java:66)
	at 	at org.eclipse.rwt.internal.service.ServiceManager$HandlerDispatcher.service(ServiceManager.java:98)
	at 	at org.eclipse.rwt.internal.engine.RWTDelegate.doPost(RWTDelegate.java:64)
	at 	at org.eclipse.ui.internal.servlet.RequestHandler.service(RequestHandler.java:51)
	at 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at 	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
	at 	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
	at 	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:59)
	at 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at 	at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:115)
	at 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
	at 	at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:880)
	at 	at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:719)
	at 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2081)
	at 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
	at 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
	at 	at java.lang.Thread.run(Thread.java:595)
09:48:28,547 |-WARN in ch.qos.logback.classic.net.SyslogAppender[SysLogAppender] - Attempted to append to non started appender [SysLogAppender].
09:48:28,547 |-WARN in ch.qos.logback.classic.net.SyslogAppender[SysLogAppender] - Attempted to append to non started appender [SysLogAppender].
09:48:28,547 |-WARN in ch.qos.logback.classic.net.SyslogAppender[SysLogAppender] - Attempted to append to non started appender [SysLogAppender].
09:48:28,578 |-WARN in ch.qos.logback.classic.net.SyslogAppender[SysLogAppender] - Attempted to append to non started appender [SysLogAppender].
09:48:28,578 |-WARN in ch.qos.logback.classic.net.SyslogAppender[SysLogAppender] - Attempted to append to non started appender [SysLogAppender].

> SyslogAppender quits after a while
> ----------------------------------
>
>                 Key: LBCLASSIC-193
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-193
>             Project: logback-classic
>          Issue Type: Bug
>          Components: appender
>    Affects Versions: 0.9.13, 0.9.14, 0.9.15, 0.9.16, 0.917, 0.9.18, 0.9.19
>         Environment: At least Debian Etch with JDK5
>            Reporter: Ingo Siebert
>            Assignee: Logback dev list
>            Priority: Critical
>
> I have 5 applications servers and each one logs to one separate SysLog-Server. After Server-Restart, all is working fine.
> But after several days and weeks, more and more servers  doesn't log to he SysLog-Server anymore. But I can't see an Syslog-Error in my Logs.
> I think this bug is related to http://jira.qos.ch/browse/LBCLASSIC-57.
> In my opinion, the most important fix would be to re-creae the SysLog-Appender if an exception/error occurs or to avaid that the SysLog-Appender dies.  
> If I miss one single entry, than that's not nice. But if I miss all entries it's very serve. 
> The SysLog-Appender is useless for me until this bug is fixed.

-- 
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