Hi for this purpose use MDC & NDC
See details more
Use key & values in MDC
-Original Message-
From: Javier Gonzalez [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 10:04 AM
To: Log4J Users List
Subject: Re: Different client's log file?
On 8/9/06, wolverine my <[EMAIL PROTECTED
Hi
I have extended the Rolling file appender to create separate files per thread.
Attached is the implementation.
For this you need to set up the log4j as
log4j.appender.GetAccountInfo=com.gs.eq.pb.commodore.logger.ExtendedRollingFileAppender
log4j.appender.GetAccountInfo.File=logs/GetAccountInfo
Hi,
Thanks a lot for your answers,
I've used Jacob's class and now I have a valid line for my remote host
in my known_hosts file (though the class execution never ends).
I've also checked the 'ok to remove security manager' box in the
application-wide preferences.
However, I still get the "fil
On 2006-08-08, at 20.41, Marko Asplund wrote:
I'm trying to figure out how to setup a Java SE 5 application so
that jconsole can be used for modifying log levels at run time.
I'd appreciate any pointers or hints on how to do this.
The following lines of code seem to do the job:
MBeanServe
Quoting Bruno Cosnefroy <[EMAIL PROTECTED]>:
> Hi,
>
> Thanks a lot for your answers,
>
> I've used Jacob's class and now I have a valid line for my remote host
> in my known_hosts file (though the class execution never ends).
>
Yeah, just hit ctrl+c. The connection is still open. I suppose I c
We are having performance problems which we traced to overhead from our
logging. Each log statemement is taking around 200 ms. The details of the
logging configuration are:
Log4j 1.2.8 with RollingLogFileAppender
http://www.nabble.com/user-files/267/test_jsps.zip test_jsps.zip
File
Descript
Just a clarification. I report that log4j statements were taking about 200
ms but my tests show around 100 ms. This is due to the fact that larger log
statements, like the ones in the application, take longer than the small
message used in the tests.
--
View this message in context:
http://www