You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mike Millson <mg...@atsga.com> on 2002/04/03 15:25:02 UTC
How to manage log files?
What is the philosophy behind managing Tomcat log files? Why is it that log
files can only be created with the date attached? This makes it impossible
to manage the files using logrotate like you can w/ Apache. Instead of a
single log file name that you can rotate, you get a file for every day of
the year.
Is it set up this way because the logging is only for development purposes?
Is it expected that tomcat logging will be turned off and Apache logging
used instead? What is the reason for having the log files have the date
attached so they cannot be logrotated?
Or, if the log files are meant for production use, how are people managing
these files? Surely the way isn't to have hundreds of log files. Is there
some tool that aggregates them so they can be logrotated?
Thank you,
Mike Millson
Web Systems Engineer
Sun Certified Programmer for Java2 Platform
----------------------------------------
AableTech Solutions, Inc.
770.414.8834
404.219.3177 cell
770.414.8206 fax
http://www.atsga.com
----------------------------------------
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: How to manage log files?
Posted by Jeff Larsen <la...@qec.com>.
I share your frustrations, but at this time I believe
that our only recourse is to write our own subclass of
org.apache.catalin.logger.FileLogger. At this point, I've
got bigger fish to fry, so I haven't even looked at this
yet. If you come up with something, post it!
Jeff
----- Original Message -----
From: "Mike Millson" <mg...@atsga.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, April 03, 2002 7:25 AM
Subject: How to manage log files?
> What is the philosophy behind managing Tomcat log files? Why is it that log
> files can only be created with the date attached? This makes it impossible
> to manage the files using logrotate like you can w/ Apache. Instead of a
> single log file name that you can rotate, you get a file for every day of
> the year.
>
> Is it set up this way because the logging is only for development purposes?
> Is it expected that tomcat logging will be turned off and Apache logging
> used instead? What is the reason for having the log files have the date
> attached so they cannot be logrotated?
>
> Or, if the log files are meant for production use, how are people managing
> these files? Surely the way isn't to have hundreds of log files. Is there
> some tool that aggregates them so they can be logrotated?
>
> Thank you,
> Mike Millson
> Web Systems Engineer
> Sun Certified Programmer for Java2 Platform
> ----------------------------------------
> AableTech Solutions, Inc.
> 770.414.8834
> 404.219.3177 cell
> 770.414.8206 fax
> http://www.atsga.com
> ----------------------------------------
>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>