Hi all,

On Thu, 22 Feb 2001, Terry Newnham wrote:

> Is there a command-line use or the rotatelogs by means of
> which you can rotate the logs on the fly ?

Your logs can be piped through a program so you can do anything you
like with them, on the fly.

For example (from http://perl.apache.org/guide):

  LogFormat "%h %l %u %t \"%r\" %>s %b" common
  CustomLog "| /usr/local/apache/bin/syslogger.pl hostnameX" common

Note that this particular approach is said to be slow, but there are
other ways of doing it.

73,
Ged.



Reply via email to