Re: Rollover at restart

2006-03-10 Thread Javier Gonzalez
Have you tried setting the "Append" option to "false"? IIRC, that option should cause a rollover, irrespective of file size, on application restart. On 1/31/06, Rakesh Arora <[EMAIL PROTECTED]> wrote: > > Hi, > > I am using RollingFileAppender. Is it possible to rollover to a new file > at the tim

Log4j Web-Deployment best practices question

2006-03-10 Thread Jeff Bischoff
I have been using Log4j for the past several months. After reading the documentation and the mailing list archives, I am still a bit puzzled about the best practices for deploying web-apps that use Log4j. What I would like to have is a .WAR file for my website that can be deployed to either To

Re: Log4j Web-Deployment best practices question

2006-03-10 Thread James Stauffer
You could setup Tomcat to have common/lib/log4j.jar and common/classes/log4j.xml. Then the same war should work for both Tomcat and JBoss. On 3/10/06, Jeff Bischoff <[EMAIL PROTECTED]> wrote: > I have been using Log4j for the past several months. After reading the > documentation and the mailing l

Re: Log4j Web-Deployment best practices question

2006-03-10 Thread Jeff Bischoff
Yes, but then I am not "playing nice" with the other web applications running on that Tomcat server? James Stauffer wrote: You could setup Tomcat to have common/lib/log4j.jar and common/classes/log4j.xml. Then the same war should work for both Tomcat and JBoss. On 3/10/06, Jeff Bischoff <[EMAI