Thanks Shawn. Do you still use cronolog? If not, what are you presently
using?
I'm also wondering, does cronolog allow me to rotate logs without
renaming every one? I'd like them to keep the same name so that they
don't get backed up repeatedly with rsync each time the name changes.
Sorry for being lazy and not looking this up myself. ;)
--
-Eric 'shubes'
Shawn Badger wrote:
> 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@shubes.net
> <mailto:ejs@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@lists.plug.phoenix.az.us
> <mailto:PLUG-discuss@lists.plug.phoenix.az.us>
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss