Logging and Deployment best practices

2004-11-23 Thread Paul Christmann
We've recently upgraded from 4.1, which we've been using for 2+ years, to 5.0.28. While doing this, I've been looking into our logging in order to try and do things better. And I'm curious what other people do - if there are any best practices that I could follow. What we do today: We use

RE: Logging and Deployment best practices

2004-11-23 Thread Shapira, Yoav
Hi, a) Convert my log4j.properties file to use a RollingFileAppender. I This is good. AppDirectory inside Parameters using the Registry Editor), I couldn't figure out how to change the home directory for Tomcat running as a Relying on the home directory is bad. logging; I'd rather use a

RE: Logging and Deployment best practices

2004-11-23 Thread Phillip Qin
and Deployment best practices Hi, a) Convert my log4j.properties file to use a RollingFileAppender. I This is good. AppDirectory inside Parameters using the Registry Editor), I couldn't figure out how to change the home directory for Tomcat running as a Relying on the home directory is bad

RE: Logging and Deployment best practices

2004-11-23 Thread Allistair Crossley
But I finally decided as I was upgrading Tomcat that I'd address that problem by moving to a rolling file appender. Seems to me that I have two choices for doing this: we find the rolling file appenders useful as you can specify periodcity and they rename themselves to dated filenames. you

Re: Logging and Deployment best practices

2004-11-23 Thread Paul Christmann
On Tue, 23 Nov 2004 10:14:24 -0500, Shapira, Yoav [EMAIL PROTECTED] wrote: a) Convert my log4j.properties file to use a RollingFileAppender. I This is good. I'd rather use a relative path (something like ./logs) and have the logs all end up in %TOMCAT_HOME%/logs. Log4j configuration files

Re: Logging and Deployment best practices

2004-11-23 Thread Paul Christmann
Shapira, Yoav writes: Loggers are gone in Tomcat 5.5. One gentle suggestion: Is it possible make a note of that in the server configuration documentation? I was reading http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/logger.html and was just getting interested in them before reading a

RE: Logging and Deployment best practices

2004-11-23 Thread Shapira, Yoav
Hi, One gentle suggestion: Is it possible make a note of that in the server configuration documentation? I was reading http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/logger.html and was just getting interested in them before reading a post on the topic this morning. If we were to start

RE: Logging and Deployment best practices

2004-11-23 Thread Allistair Crossley
To: Tomcat Users List Subject: Re: Logging and Deployment best practices Shapira, Yoav writes: Loggers are gone in Tomcat 5.5. One gentle suggestion: Is it possible make a note of that in the server configuration documentation? I was reading http://jakarta.apache.org/tomcat/tomcat

Re: Logging and Deployment best practices

2004-11-23 Thread Paul Christmann
Phillip Qin writes: Hi, I don't think the log will go to system32 directory. Try something like this log4j.appender.file.File=${catalina.home}/logs/lciponline_debug.txt It will when I just do this, though: log4j.appender.file.File=lciponline_debug.txt Using the environment variable was

RE: Logging and Deployment best practices

2004-11-23 Thread Shapira, Yoav
Hi, speaking of which yoav, it's been a little while since i first submitted a doc patch for 5.5's logging page and it's not been made live yet .. is this a painful procedure ;) :) As the Bugzilla comments said, your patch (a modified version thereof, actually) has been committed. The changes