RE: [EXTERNAL] Re: Archive localhost_access_log

2025-03-19 Thread Nguyen, Quoc A. (QUANTUM MANAGEMENT, LLC)
: (407) 404-4912   -Original Message- From: Tim Funk Sent: Tuesday, March 18, 2025 5:26 PM To: Tomcat Users List Subject: Re: [EXTERNAL] Re: Archive localhost_access_log Nothing built in to move them. But the same advice applies. The find command chained with mv or mv+gzip could be a

Re: [EXTERNAL] Re: Archive localhost_access_log

2025-03-18 Thread Tim Funk
Nothing built in to move them. But the same advice applies. The find command chained with mv or mv+gzip could be a solution Or if your backup policy is good enough. Doing nothing and relying on backups to retrieve old logs would work too. But all of this depends on use case for need of retrieval.

Re: [EXTERNAL] Re: Archive localhost_access_log

2025-03-18 Thread david w
: [EXTERNAL] Re: Archive localhost_access_log Personally. I rely on a daily cron with a find by time and the -delete flag. Where the time to keeps is based on policy. -Tim On Tue, Mar 18, 2025 at 9:52 AM Nguyen, Quoc A. (QUANTUM MANAGEMENT, LLC) wrote: > Hello, > > Tomca

RE: [EXTERNAL] Re: Archive localhost_access_log

2025-03-18 Thread Nguyen, Quoc A. (QUANTUM MANAGEMENT, LLC)
nks and regards, - Quoc   -Original Message- From: Tim Funk Sent: Tuesday, March 18, 2025 1:10 PM To: Tomcat Users List Subject: [EXTERNAL] Re: Archive localhost_access_log Personally. I rely on a daily cron with a find by time and t

Re: Archive localhost_access_log

2025-03-18 Thread Tim Funk
Personally. I rely on a daily cron with a find by time and the -delete flag. Where the time to keeps is based on policy. -Tim On Tue, Mar 18, 2025 at 9:52 AM Nguyen, Quoc A. (QUANTUM MANAGEMENT, LLC) wrote: > Hello, > > Tomcat server version: 9.0.98. > > server.xml configuration for AccessLogVa

Archive localhost_access_log

2025-03-18 Thread Nguyen, Quoc A. (QUANTUM MANAGEMENT, LLC)
Hello, Tomcat server version: 9.0.98. server.xml configuration for AccessLogValve: Everything works fine. Now, I have a requirement to archive these log files similar to log4j (pattern is already taken care of in the valve) with (archive when the file size reaches certain size) and (cle