Re: log4cxx SocketAppender
Posted by
Philipp Lauchner on
URL: http://forum.log4view.com/log4cxx-SocketAppender-tp66p70.html
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 GmbHDevelopment & Support