RE: MultiCastAppender configuration

2007-06-15 Thread Scott Deboy
There is a bug in this appender that is preventing it from processing events (as you mentioned, the log4j framework thinks the appender is inactive). I'll make a commit to fix this on the trunk. If you have the code locally and would like to fix it, after the constructor of the MulticastSocket in

MultiCastAppender configuration

2007-06-15 Thread Hava Sayed
Hi I am trying to configure log4j to log to Chainsaw on a remote host using Multicast. I have a MultiCastReceiver set up on Chainsaw and I have the following config on my client However I keep getting the following error ERROR org.apache.log4j.net.MulticastApp

Re: isFatalEnabled()?

2007-06-15 Thread Wayne Cannon
It's best to check for "isDebugEnabled", etc., externally if performance is a consideration, since an external test avoids the time-consuming concatenating and formatting strings if it won't be used. If you use the test inside log4j, you will pay the penalty for these operations, even if they

RE: isFatalEnabled()?

2007-06-15 Thread Bret Schuhmacher
Thanks, Endre - that makes sense. Yes, I was trying to test so I wouldn't have to do any String concatenation and processing if the level was turned off. Guess I was getting pretty anal ;-). TRACE, DEBUG, and INFO ought to be enough. Rgds, Bret -- > -Original Message- > From: Endre

RE: Chainsaw help

2007-06-15 Thread ashish talati
Hi Scott, thanks for your consideration. below are my appenders and chainsaw reciever config files. appenders in log4j config files, #TEST #Level=ALL, Facility=USER log4j.debug=true log4j.rootLogger=all,Chainsaw1,Chainsaw2,STDOUT,R log4j.appender.Chainsaw1=org.apache.log4j.n

Re: log4j:ERROR Could not connect to remote log4j server at [localhost]. We will try again later.

2007-06-15 Thread James Stauffer
Please provide details on your setup (especially the server listening for log4j events). On 6/15/07, NarayanaRao Yenduri <[EMAIL PROTECTED]> wrote: Hi i am getting log4j error as below. can you please provide pointers if any to fix this issue. log4j:ERROR Could not connect to remote log4j serv

Re: isFatalEnabled()?

2007-06-15 Thread Endre Stølsvik
Bret Schuhmacher wrote: There are methods for isDebugEnabled and isInfoEnabled, but how do you check for isFatalEnabled or any of the other levels? I've used isEnabledFor(Priority.), but Priority.FATAL and the rest are deprecated, so what's the best way to test for the unrepresented isEnabled lev

isFatalEnabled()?

2007-06-15 Thread Bret Schuhmacher
There are methods for isDebugEnabled and isInfoEnabled, but how do you check for isFatalEnabled or any of the other levels? I've used isEnabledFor(Priority.), but Priority.FATAL and the rest are deprecated, so what's the best way to test for the unrepresented isEnabled levels? Thanks, Bret

log4j:ERROR Could not connect to remote log4j server at [localhost]. We will try again later.

2007-06-15 Thread NarayanaRao Yenduri
Hi i am getting log4j error as below. can you please provide pointers if any to fix this issue. log4j:ERROR Could not connect to remote log4j server at [localhost]. We will try again later. java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Met