https://bz.apache.org/bugzilla/show_bug.cgi?id=69595

--- Comment #1 from Vijay <[email protected]> ---
Hi,
I would like to work on this enhancement.
>From my understanding, the current AccessLogValve supports only date-based
rotation, which can lead to uncontrolled log file growth in environments with
limited disk capacity.
I am planning to introduce support for size-based rotation (e.g. configurable
maxFileSize), while keeping existing date-based rotation behaviour intact for
backward compatibility.
My initial approach:
- Add a configurable maxFileSize property to AccessLogValve
- Track the current log file size during writes
- Trigger rotation when the configured size limit is exceeded
- Ensure thread safety and minimal performance overhead
Please let me know if this approach aligns with expectations or if there are
any preferred design considerations.
Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to