Reply – Re: log4cxx SocketAppender
Your Name
Subject
Message
or Cancel
In Reply To
Re: log4cxx SocketAppender
— by Philipp Lauchner Philipp Lauchner
Dear Andreas,

unfortunatelly, we do not have personal experience with log4cxx. Nevertheless, as the configuration should be somewhat log4j conform, could you please try using the following config?

<?xml version="1.0" encoding="UTF-8" ?>
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">

  <appender name="SocketAppender" class="org.apache.log4j.net.SocketAppender">
    <param name="Port" value="9133"/>
    <param name="RemoteHost" value="127.0.0.1"/>
    <param name="ReconnectionDelay" value="30000"/>
  </appender>

  <root>
    <priority value="all" />
    <appender-ref ref="SocketAppender"/>
  </root>

</log4j:configuration>

Yours sincerely

Philipp Lauchner
PROSA GmbH
Development & Support