Conversation:
Notices
-
Douglas A. Whitfield (musicman)'s status on Friday, 05-Jun-2020 09:59:20 EDT Douglas A. Whitfield In #Tomcat, do you need to restart to configure log rotation using something like logging.properties? I am not sure why logrotate isn't acceptable, but apparently it is not. Different teams, perhaps. - LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} repeated this.
-
Douglas A. Whitfield (musicman)'s status on Friday, 05-Jun-2020 10:57:34 EDT Douglas A. Whitfield I guess this might depend in part if it is a watched resource. That I do not know. -
Douglas A. Whitfield (musicman)'s status on Friday, 05-Jun-2020 10:57:59 EDT Douglas A. Whitfield you should really assume I know nothing about Tomcat if you decide to jump in on this. -
LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Friday, 05-Jun-2020 11:52:18 EDT LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} @musicman If you get an answer, please share it. -
Douglas A. Whitfield (musicman)'s status on Friday, 05-Jun-2020 13:17:53 EDT Douglas A. Whitfield looks like it is possible with log4j: https://stackoverflow.com/questions/688703/does-changing-log4js-log-properties-require-a-restart
log4j can be used with Tomcat. It's not a satisfactory answer (for me, yet...might fall back on it) -
Douglas A. Whitfield (musicman)'s status on Friday, 05-Jun-2020 13:41:48 EDT Douglas A. Whitfield in the past, rotation was not possible with logging.properties by default. log4j (or something like it) was required.
I do not know 100% if this is still the case. -
Douglas A. Whitfield (musicman)'s status on Friday, 05-Jun-2020 13:45:42 EDT Douglas A. Whitfield big lol: https://cwiki.apache.org/confluence/display/TOMCAT/Logging#Logging-Q10 -
Douglas A. Whitfield (musicman)'s status on Friday, 05-Jun-2020 14:38:44 EDT Douglas A. Whitfield https://gist.github.com/bmaupin/987205b7ee8a0b664cfb04a9505feb5a claims to be able to do it, but still recommends log4j -
Douglas A. Whitfield (musicman)'s status on Friday, 05-Jun-2020 15:04:19 EDT Douglas A. Whitfield the answer is...it depends on the version, but basically either way you should be using log4j if you don't use logrotate.