Re: Log4j performance issues

2005-11-03 Thread Frank W. Zammetti
I'm using Log4J underneath JCL, and doing considerably more logging than one entry per screen, and the performance of the one app I'm thinking of in particular is stellar. And the hardware isn't anything grand and the load is pretty significant, so I would say Log4J, in and of itself, isn't th

Log4j performance issues

2005-11-03 Thread Michael A Chase
In the most recent update to our system, I installed log4j 1.2.11. After the update someone at our hosting facility finally noticed that the application was taking a very long time to paint some screens. The application was frequently painfully slow to begin with, but someone latched on to log4j

RE: Help getting started with Chainsaw V2

2005-11-03 Thread Rakesh Patel
Actually, there are permission problems in my environment with connecting to servers on arbitary ports. I'm quite happy with the original SocketAppender and SocketReceiver configuration. Thanks! Rakesh -Original Message- From: Rakesh Patel Sent: 03 November 2005 10:57 To: Log4J Users Li

RE: Basic Assistance

2005-11-03 Thread Bender Heri
The static approach only works if you use only one logger repository. If you want to separate logging universes i.e. by using MDC you have to instantiate a logger for each instance of a class. Logging statements out of static helper routines even need fetch the correct logger "inline" not via a

Re: Basic Assistance

2005-11-03 Thread David Tonhofer, m-plify S.A.
Make it final, too :-> --On Thursday, November 03, 2005 12:33 AM +0100 Laurent <[EMAIL PROTECTED]> wrote: Make it static so you only need one per class: public class MyClass { static Logger logger = Logger.getLogger(MyClass.class); ---

NTEventLogAppender

2005-11-03 Thread Elaine White
I have set up a configuration file using Log4j so that errors are logged to Windows Event Viewer using NTEventLogAppender. In Windows Event Viewer the categories are currently being recorded as 10001,20001,30001 etc where 10001 represents debug, 20001 represents info, 30001 represents warn and 400

RE: Help getting started with Chainsaw V2

2005-11-03 Thread Rakesh Patel
Hi Scott, The SocketHubAppender/SocketHubReciever looks a much better choice. I had a go but get Connection refused errors. Here's my remote log4j configuration: I set up the Chainsaw receiver with the port and ip address of the remote box. What have I missed? Cheers Rake