See if this thread helps you out.
http://www.mail-archive.com/log4j-user@logging.apache.org/msg01793.html
Yair Ogen wrote:
The time stamp when the file is created.
-Original Message-
From: Ceki Gïlcï [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 24, 2004 4:20 PM
To: Log4J Users Lis
That's correct Jake, the 2 apps are logging to separate files successfully.
After re-reading Chapter 7 on Mapped Diagnostic Contexts in Ceki's book
and running through the debugger I may have an answer. (Please let me
know if anything seems screwy here. I'm using Tomcat 5.0.18.)
I used a debug
You may to read the article at http://qos.ch/logging/sc.html.
Mohan Venkatesan wrote:
Hi ,
I am working in Log4j for my web application.
I am using Eclipse2.1, Log4j 1.2.8, JBoss 3.2.2
I am having problem in the log4J concepts.
I am using my own Logger.java.
Thanks Jacob, I did as you suggested and checked out the
ContextClassLoaderSelector from LOG4J_SANDBOX_ALPHA3. I'm calling this
class from the initLoggerRepository() method in InitContextListener like so:
//ContextClassLoaderSelector.doIdempotentInitialization();
try {
Object guard = new Objec
I used Jacob Kjome's InitContextListener and ContextClassLoaderSelector
classes to separate the logging for 2 test web apps that I'm writing.
I put the log4j-1.2.8.jar in C:\Program Files\Apache Software
Foundation\Tomcat 5.0\shared\lib and coded something like the following:
webapp1
---
MD