-
Notifications
You must be signed in to change notification settings - Fork 0
Serverconfigs
Mario Trojan edited this page Jan 29, 2024
·
6 revisions
-
/etc/tomcat9/server.xml
: Search for<Valve className="org.apache.catalina.valves.AccessLogValve"...
=> AddmaxDays="90"
-
/etc/tomcat9/logging.properties
: If you ever need a different setting than 90, you also have to change it there -
/etc/logrotate.d/tomcat9
: There are default settings forcatalina.out
=>weekly
+rotate 52
. If we want to have this similar to the own tomcat-managed settings we should set it todaily
+rotate 90
.