Rotating apache logs

Shawn Badger badger.shawn at gmail.com
Mon Jun 28 09:26:50 MST 2010


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 <ejs at shubes.net> 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 - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20100628/2aa7829b/attachment.html>


More information about the PLUG-discuss mailing list