Re: smart file name

2004-11-24 Thread Ted Gittinger
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

Re: Context Based Repository Selectors and MDC

2004-11-05 Thread Ted Gittinger
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

Re: Log4j and JBoss issue

2004-11-05 Thread Ted Gittinger
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.

Re: Context Based Repository Selectors and MDC

2004-11-04 Thread Ted Gittinger
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

Context Based Repository Selectors and MDC

2004-11-01 Thread Ted Gittinger
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