: (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
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.
: [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
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
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
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