Greg,
You might find the following thread on the log4j-user mailing useful.
http://tinyurl.com/d97k4y
Greg Flex wrote:
Sorry for the empty message I just sent. I pressed the wrong button by
mistake....
I have the following SocketAppender that uses the XMLLayout.
<appender name="SOCKET"
class="ch.qos.logback.classic.net.SocketAppender">
<RemoteHost>localhost</RemoteHost>
<Port>7777</Port>
<ReconnectionDelay>10000</ReconnectionDelay>
<IncludeCallerData>true</IncludeCallerData>
<layout class="ch.qos.logback.classic.log4j.XMLLayout">
<LocationInfo>true</LocationInfo>
<properties>true</properties>
</layout>
</appender>
I was wondering if it is possible to make a logback client that uses the
above SocketAppender
talk to a Log4j server.
I tried this but the server throws an unknown exception when connection
is made...
Can SocketAppender and log4j.XMLLayout be combined like in the example
above?
--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user