tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: basic logging info
Date Fri, 06 Jan 2017 09:35:33 GMT
On 06/01/2017 01:22, wrote:
> Newbie Tomcat user here. I installed Tomcat 8.5.9 on CentOS 7 a few
> days ago and noticed the default log files for catalina,
> host-manager, localhost, and manager are created fresh each day with
> a date in their filename.
> Doesn't this fill up the directory over time?


> Wouldn't it be better
> to have the logs accumulate in one file for some time?

Then you'd just have one file getting bigger over time.

> Can someone set my expectations what the default logging behavior is,

One file per day.

> then recommend a general approach to configuring something more
> manageable (from a sheer number-of-files standpoint)?

Cron job to delete anything more than X days old.

Longer term, the FileHandler could be enhanced to add an option to
delete files more than X days old.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message