Re: What is the best way

2007-02-01 Thread James Stauffer
Don't put log4j.jar or your log4j config file in a shared location but put them under each web app. Then your logs should stay separate. On 1/31/07, Tracy12 [EMAIL PROTECTED] wrote: If I have seperate web applications running in TOMCAT, each got its own log4j configuration. Seems like the

Re: What is the best way

2007-02-01 Thread Jacob Kjome
Quoting James Stauffer [EMAIL PROTECTED]: Don't put log4j.jar or your log4j config file in a shared location but put them under each web app. Then your logs should stay separate. Or use a RepositorySelector implementation, but that's way more complicated than what James suggests. Actually,

Help with DailyRollingFileAppender

2007-02-01 Thread Todd Nine
Hi all, I'm having some trouble with DailyRollingFileAppender. I'm using log4j 1.2.14, and I'm trying to get the logs to roll at midnight. I perform the following steps to test log rolling, and they don't appear to be creating the new logs correct. 1. I start Tomcat, perform some requests

Re: Help with DailyRollingFileAppender

2007-02-01 Thread James Stauffer
It may only roll if it isn't stopped. In order for your test to work log4j would have to look in the log file to see when the last log was written or check the modified date of the log file. On 2/1/07, Todd Nine [EMAIL PROTECTED] wrote: Hi all, I'm having some trouble with

Re: question mark displayed for certain patterns

2007-02-01 Thread Eqbal
Okay. It was a compile issue as I was using ant and compiling with no debug flag so it defaulted to off. The issue is resolved, thanks for your help. --- Curt Arnold [EMAIL PROTECTED] wrote: On Jan 29, 2007, at 5:08 PM, Eqbal wrote: Hi, I am fairly new to log4j. I am experiencing a