Hi.

I am setting up a server with lots of applications generating logs, and would like to simplify my life by handling them all with logrotate, which generally speaking I am getting done.
But I have a problem with Tomcat.

For one small web-application, there is thus a Tomcat 5.5 server running.

I am interested only in start/stop and in real errors, and would like to have one single Tomcat logfile, with everything in it, as terse as possible while remaining useful to track down a fatal error if any.

Currently, despite some chasing around Tomcat5.5 documentation and configuration files, and commenting out various things that looked like they had to do with logs, I am left with still the following files in the /var/log/tomcat5.5 directory. If I stop Tomcat and delete them, they re-appear at the next Tomcat start :

admin.2008-06-04.log
catalina_2008-06-04.log
catalina.2008-06-04.log
catalina.out
host-manager.2008-06-04.log
localhost.2008-06-04.log
manager.2008-06-04.log

(notice e.g. both "catalina.2008-06-04.log" and "catalina_2008-06-04.log" ?)

I know where catalina.out comes from, and that's fine, it can stay.

But how do I get rid of the other ones, or get all these things to use the same "tomcat.errors.log" for instance ?
Where do these things "live" ?
(not in the on-line Tomcat5.5 documentation, that's for sure)

(This is Linux Debian Etch, with Tomcat5.5 out of the box, standard apt-get install.)

Thanks much in advance,
André

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to