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.
On 2025/03/18 16:22:42 "Thomas Hoffmann (Speed4Trade GmbH)" wrote:
> Hello Tomcat-Team,
> we are currently using a JNDIRealm to authenticate against an ActiveDirectory
> via LDAPs.
> For security reasons, the LDAP-Server should be configured to enforce channel
> binding token (CBT).
>
> If CBT i
There are other ways to capture or store logs... Tools or toolsets like
Telegraf.
OT but could be of help
Thank you Mr. Funk.
My request is two-folds a) archive the log files elsewhere (not the "logs"
folder) based on some policy b) clean up (delete) the archived files based on
some policy.
Thank you Mr. Funk.
My request is two-folds a) archive the log files elsewhere (not the "logs"
folder) based on some policy b) clean up (delete) the archived files based on
some policy.
If I'm not mistaken, your suggestion may address the latter but nothing on the
former?
Thanks and regards,
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
Hello Tomcat-Team,
we are currently using a JNDIRealm to authenticate against an ActiveDirectory
via LDAPs.
For security reasons, the LDAP-Server should be configured to enforce channel
binding token (CBT).
If CBT is set to enforced however, the JNDIRealm fails with this exception:
org.apache.c
On 18/03/2025 08:02, Усманов Азат Анварович wrote:
Mark, I was thinking more about Parallel deployment section of Tomcat Docs
https://tomcat.apache.org/tomcat-9.0-doc/config/context.html
Just a simple mention like
"
If you want to get the current webapp version number in a servlet you should
us
Mark, I was thinking more about Parallel deployment section of Tomcat Docs
https://tomcat.apache.org/tomcat-9.0-doc/config/context.html
Just a simple mention like
"
If you want to get the current webapp version number in a servlet you should
use org.apache.catalina.webappVersion attribute, like t