Re: log rotation clarification
This is correct. The config for localhost_x is in its logging element. For example: Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ For all configurable properties, see the javadocs for org.apache.catalina.logger.FileLogger For catalina.out - it still doesn't rotate and that is not changing. But it *may* change if if one of the committers do change and it isn't -1'd. -Tim Euan Guttridge wrote: Tomcat automatically rotates localhost_log_x and localhost_access_log_x, but not catalina.out. From searching the archives you need to use a cron to rotate catalina. 1 - Is this correct 2 - Where is the rotation for localhost_x configured? 3 - Will this change in TC5? Thanks, Euan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: log rotation clarification
Tim, looking up javadoc for the logger, I see a property (info) telling us about that logger. How do I access that property from my jsp (or can I)? What's the name of the logger object? thanks, Dave Naden -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 6:56 AM To: Tomcat Users List Subject: Re: log rotation clarification This is correct. The config for localhost_x is in its logging element. For example: Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ For all configurable properties, see the javadocs for org.apache.catalina.logger.FileLogger For catalina.out - it still doesn't rotate and that is not changing. But it *may* change if if one of the committers do change and it isn't -1'd. -Tim Euan Guttridge wrote: Tomcat automatically rotates localhost_log_x and localhost_access_log_x, but not catalina.out. From searching the archives you need to use a cron to rotate catalina. 1 - Is this correct 2 - Where is the rotation for localhost_x configured? 3 - Will this change in TC5? Thanks, Euan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: log rotation clarification
You can't access a FileLogger from a jsp. Unless your webapp is privledged. (which is usually not a good thing to do) info() is pretty much an unused property - but it is helpful for admin interfaces to describe the implementation. -Tim Dave Naden wrote: Tim, looking up javadoc for the logger, I see a property (info) telling us about that logger. How do I access that property from my jsp (or can I)? What's the name of the logger object? thanks, Dave Naden -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 6:56 AM To: Tomcat Users List Subject: Re: log rotation clarification This is correct. The config for localhost_x is in its logging element. For example: Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ For all configurable properties, see the javadocs for org.apache.catalina.logger.FileLogger For catalina.out - it still doesn't rotate and that is not changing. But it *may* change if if one of the committers do change and it isn't -1'd. -Tim Euan Guttridge wrote: Tomcat automatically rotates localhost_log_x and localhost_access_log_x, but not catalina.out. From searching the archives you need to use a cron to rotate catalina. 1 - Is this correct 2 - Where is the rotation for localhost_x configured? 3 - Will this change in TC5? Thanks, Euan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]