logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bradley, Todd" <todd.brad...@Polycom.com>
Subject RE: Problems to use Chainsaw V2 using SocketAppenders
Date Tue, 06 Sep 2005 18:02:48 GMT
Make sure your logging events don't have any location info in them.
There is a bug that Chainsaw v2 will ignore events from log4j 1.2.x apps
that include location information.  See here:

http://issues.apache.org/bugzilla/show_bug.cgi?id=35448


Todd.


> -----Original Message-----
> From: Siegfried Goeschl [mailto:siegfried.goeschl@it20one.at] 
> Sent: Tuesday, September 06, 2005 11:43 AM
> To: log4j-user@logging.apache.org
> Subject: Problems to use Chainsaw V2 using SocketAppenders
> 
> Hi folks,
> 
> I came across the Chainsaw V2 and thought it would save my 
> day but I'm unable to get it running ....
> 
> +) I updated to log4j 1.2.11 since 1.3alpha6 breaks my code
> +) I can use the old chainsaw with no problem
> +) I never get any logging event using Chainsaw 2.0alpha
> 
> Any ideas what went wrong ....
> 
> Thanks in advance
> 
> Siegfried Goeschl
> 
> 
> CHAINSAW CONFIG
> =============================================
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE log4j:configuration >
> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" 
> debug="true">
>    <plugin name="SocketReceiver" 
> class="org.apache.log4j.net.SocketReceiver">
>       <param name="Port" value="4445"/>
>    </plugin>
>    <root>
>       <level value="debug"/>
>    </root>
> </log4j:configuration>
> 
> LOG4J PROPERTIES
> =============================================
> og4j.appender.chainsaw=org.apache.log4j.net.SocketAppender
> log4j.appender.chainsaw.remoteHost=localhost
> log4j.appender.chainsaw.port=4445
> log4j.appender.chainsaw.locationInfo=true
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message