[logback-user] Logback client to Log4jSimpleSocketServer

Neil Lott neilmatthewlott at yahoo.com
Tue Feb 3 02:38:02 CET 2009


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


More information about the Logback-user mailing list