Conversation
Notices
-
Douglas A. Whitfield (musicman@nu.federati.net)'s status on Friday, 05-Jun-2020 13:59:20 UTC 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@nu.federati.net)'s status on Friday, 05-Jun-2020 14:57:34 UTC 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@nu.federati.net)'s status on Friday, 05-Jun-2020 14:57:59 UTC 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@nu.federati.net)'s status on Friday, 05-Jun-2020 15:52:18 UTC LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} @musicman If you get an answer, please share it. -
Douglas A. Whitfield (musicman@nu.federati.net)'s status on Friday, 05-Jun-2020 17:17:53 UTC 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@nu.federati.net)'s status on Friday, 05-Jun-2020 17:41:48 UTC 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.In conversation permalink -
Douglas A. Whitfield (musicman@nu.federati.net)'s status on Friday, 05-Jun-2020 17:45:42 UTC Douglas A. Whitfield big lol: https://cwiki.apache.org/confluence/display/TOMCAT/Logging#Logging-Q10 In conversation permalink Attachments
-
Douglas A. Whitfield (musicman@nu.federati.net)'s status on Friday, 05-Jun-2020 18:38:44 UTC Douglas A. Whitfield https://gist.github.com/bmaupin/987205b7ee8a0b664cfb04a9505feb5a claims to be able to do it, but still recommends log4j In conversation permalink Attachments
-
Douglas A. Whitfield (musicman@nu.federati.net)'s status on Friday, 05-Jun-2020 19:04:19 UTC 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. In conversation permalink