
Hi, Should this work? I'm using logback 0.9.14. Logback client config: <appender name="MSA_LOG_SERVER" class="ch.qos.logback.classic.net.SocketAppender"> <RemoteHost>MystroLogServer</RemoteHost> <Port>4500</Port> <IncludeCallerData>true</IncludeCallerData> </appender> Log4j Server: /usr/local/neil/thirdparty/log4j-1.2.15.jar:/usr/local/neil/thirdparty/ logback-classic-0.9.14.jar:/usr/local/neil/components/msaif.jar org.apache.log4j.net.SimpleSocketServer 4500 /usr/local/neil/conf/log4j/MsaLogServerConfig.xml Thanks, Neil

This won't work because the log4j SimpleSocketServer expects log4j LoggingEvents but the Logback SocketAppender sends Logback LoggingEvents.. <anotherShamelessPlug> But Lilith, available at http://lilith.huxhorn.de , could be helpful for you, too. It's a event viewer somewhat similar to Chainsaw but currently only supporting Logback. Please see Help of the Lilith application for setup instructions. </anotherShamelessPlug> Hope this helps, at least a little, Joern. On 03.02.2009, at 02:38, Neil Lott wrote:
Hi,
Should this work? I'm using logback 0.9.14.
Logback client config:
<appender name="MSA_LOG_SERVER" class="ch.qos.logback.classic.net.SocketAppender"> <RemoteHost>MystroLogServer</RemoteHost> <Port>4500</Port> <IncludeCallerData>true</IncludeCallerData> </appender>
Log4j Server:
/usr/local/neil/thirdparty/log4j-1.2.15.jar:/usr/local/neil/ thirdparty/logback-classic-0.9.14.jar:/usr/local/neil/components/ msaif.jar org.apache.log4j.net.SimpleSocketServer 4500 /usr/local/neil/conf/log4j/MsaLogServerConfig.xml
Thanks,
Neil _______________________________________________ Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user
participants (2)
-
Joern Huxhorn
-
Neil Lott