On 09/01/2025 00:08, Eric Covener wrote:

On Wed, Jan 8, 2025 at 8:41 AM Edson Alves Pereira
<eap.eapere...@gmail.com> wrote:

Hello guys, I´d like to add a Rolling Log feature to Apache Web Server, some like if the user add:

RollingLog = true

on httpd.conf, Apache will automatically add ( -YYYYMMDD ) to the end of log´s file name.

People commonly use rotatelogs / piped logging and OS facilities like
logrotated which are both pretty flexible.
Why another way?

logrotate installed on just about every linux distro has been around a very long time and is proven.

An observation with auto rolling, we use and have used DNews usenet news server since the 90's, by default, it auto rolls logs daily, back in the 90's we quickly realized how ridiculous that was and disabled DNews' log management and have logrotate handle it, which it does perfectly, to this day, so lets not make the same mistake here :)

Reply via email to