You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2022/05/25 13:27:53 UTC
[Bug 66088] New: "MaxDays" property in "logging,properties" file in /Conf directory is not working
https://bz.apache.org/bugzilla/show_bug.cgi?id=66088
Bug ID: 66088
Summary: "MaxDays" property in "logging,properties" file in
/Conf directory is not working
Product: Tomcat 8
Version: 8.5.23
Hardware: PC
Status: NEW
Severity: critical
Priority: P2
Component: Catalina
Assignee: dev@tomcat.apache.org
Reporter: jasdeep.dhillon@toronto.ca
Target Milestone: ----
Created attachment 38305
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38305&action=edit
ApacheTomcatVersion
Hi,
We have Tomcat 8.5.23 installed in our Production environment. Catalina log
files are getting generated without any purge interval. I tried to put the
"MaxDays" property in "logging,properties" file in /Conf directory but it
didn't worked (even after restarting Tomcat services twice).
I have added the following lines
1catalina.org.apache.juli.AsyncFileHandler.maxDays
1catalina.org.apache.juli.AsyncFileHandler.level = FINE
1catalina.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs
1catalina.org.apache.juli.AsyncFileHandler.prefix = catalina.
1catalina.org.apache.juli.AsyncFileHandler.maxDays = 90
2localhost.org.apache.juli.AsyncFileHandler.level = FINE
2localhost.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs
2localhost.org.apache.juli.AsyncFileHandler.prefix = localhost.
2localhost.org.apache.juli.AsyncFileHandler.maxDays = 90
3manager.org.apache.juli.AsyncFileHandler.level = FINE
3manager.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs
3manager.org.apache.juli.AsyncFileHandler.prefix = manager.
3manager.org.apache.juli.AsyncFileHandler.maxDays = 90
4host-manager.org.apache.juli.AsyncFileHandler.level = FINE
4host-manager.org.apache.juli.AsyncFileHandler.directory =
${catalina.base}/logs
4host-manager.org.apache.juli.AsyncFileHandler.prefix = host-manager.
4host-manager.org.apache.juli.AsyncFileHandler.maxDays = 90
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 66088] "MaxDays" property in "logging,properties" file in /Conf directory is not working
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66088
Konstantin Kolinko <kn...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> ---
1. See the changelog. That feature was implemented in Tomcat 8.5.30.
2. Bugzilla is NOT the place to ask support questions. It is a bug database.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org