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: JNDIRealm with required ChannelBindingToken fails

2025-03-18 Thread Michael Osipov
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

Re: [EXTERNAL] Re: Archive localhost_access_log

2025-03-18 Thread david w
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.

RE: [EXTERNAL] Re: Archive localhost_access_log

2025-03-18 Thread Nguyen, Quoc A. (QUANTUM MANAGEMENT, LLC)
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,

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

JNDIRealm with required ChannelBindingToken fails

2025-03-18 Thread Thomas Hoffmann (Speed4Trade GmbH)
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

Re: context path version number with parallel deployment

2025-03-18 Thread Mark Thomas
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

RE: context path version number with parallel deployment

2025-03-18 Thread Усманов Азат Анварович
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