Re: Rotating apache logs

Page principale
Attachements:
Message en tant que courrier électronique
+ (text/plain)
+ (text/html)
+ (text/plain)
Supprimer ce message
Répondre à ce message
Auteur: Shawn Badger
Date:  
À: Main PLUG discussion list
Sujet: Re: Rotating apache logs
I used cronolog (http://cronolog.org/) for logs for some time and found it
to be very flexable and no restart is needed after initial configuration. It
was very flexible at where to place the logs, how to name them and most
importantly how to rotate them.

On Fri, Jun 25, 2010 at 4:03 PM, Eric Shubert <> wrote:

> It appears that there are 2 ways of rotating apache logs.
>
> Logrotate can be used, in which case apache needs to be restarted after
> the logs are rotated.
>
> There is also a rotatelogs program included with apache that controls
> log rotation (http://httpd.apache.org/docs/2.2/programs/rotatelogs.html).
>
> Does anyone have a preference, or know which is considered to be best
> practice? I'm inclined to lean toward the later.
>
> --
> -Eric 'shubes'
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss