logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raúl Santiago <mi...@virtualsw.com>
Subject Re: Chainsaw
Date Mon, 14 Aug 2006 07:22:14 GMT
Takacs Bence escribió:

I have successfully configured the ZeroConf feature of chainsaw. Follow 
the instructions, add all the required and depending jars. It works with 
both sides (logging app and Chainsaw) in the same computer or in 
different ones.
Appender XML log4j config:

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">

    <appender name="zeroconf" 
        <param name="Name" value="MyZeroConfSockeHubAppender" />
    <!--ROOT Logger-->
        <level value="INFO" />
        <appender-ref ref="zeroconf" />


It MAY cause this exception just after auto-connecting:

Exception in thread "Thread-0" java.lang.NoSuchMethodError: 


   at java.lang.Thread.run(Thread.java:595)

If this happens to you, change the log4j jar version. Use version 1.2.8.
If Paul Smith is reading around, he may have updated information about 
this bug.

> Thanks, It works.
> And do somebody know anything about that "zeroconf" thing mentioned on 
> Chainsaw's webpage? Does somebody configured successfully the zeroconf 
> appender?
> If yes, how?
> Thanks:
>     Bence
> Scott Deboy wrote:
>> In Chainsaw, when you launch it and it asks you for a configuration,
>> select the 'SocketReceiver/port 4445' option.
>> On the app side, use a SocketAppender pointing to localhost, port 4445.
>> Chainsaw should start to receive your events automatically.
>> You probably need to make sure locationInfo is not 'true' in the
>> socketappender.
>> Scott
>> -----Original Message-----
>> From: Takacs Bence [mailto:bence@watt22.hu] Sent: Friday, August 11, 
>> 2006 8:53 AM
>> To: Log4J Users List
>> Subject: Chainsaw
>> Hello
>> Could somebody suggest me a way to try Chainsaw? (appender, appender 
>> config, and chainsaw config)
>> I've tried the zeroconf thing on the website, and didn't worked. 
>> Could it be the problem, that I runned both my application and 
>> Chainsaw in the
>> localhost?
>> Thanks:
>>     Bence


Raúl Santiago Gómez
Virtual Software S.L.

"El programador crea aplicaciones a prueba de tontos; Dios crea tontos a prueba de programadores"

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

View raw message