Ceki Culcu<br>Sorry for the empty message I just sent. I pressed the wrong button by mistake....<br><br>I have the following SocketAppender that uses the XMLLayout.<br><br> &lt;appender name=&quot;SOCKET&quot; class=&quot;ch.qos.logback.classic.net.SocketAppender&quot;&gt;  <br>
    &lt;RemoteHost&gt;localhost&lt;/RemoteHost&gt;<br>    &lt;Port&gt;7777&lt;/Port&gt;<br>    &lt;ReconnectionDelay&gt;10000&lt;/ReconnectionDelay&gt; <br>    &lt;IncludeCallerData&gt;true&lt;/IncludeCallerData&gt;<br>    &lt;layout class=&quot;ch.qos.logback.classic.log4j.XMLLayout&quot;&gt;<br>
      &lt;LocationInfo&gt;true&lt;/LocationInfo&gt;<br>      &lt;properties&gt;true&lt;/properties&gt;<br>    &lt;/layout&gt;  <br>  &lt;/appender&gt;<br><br>I was wondering if it is possible to make a logback client that uses the above SocketAppender <br>
talk to a Log4j server. <br>I tried this but the server throws an unknown exception when connection is made... <br>Can SocketAppender and log4j.XMLLayout be combined like in the example above?<br><br>