> is it possible to use piped logs to rotate the logfile written by
> suexec? Could it be configured in the file suexec.h like this:
> #define LOG_EXEC "|/usr/local/sbin/cronolog
> /var/log/apache/%Y/%m/%d/cgi.log"
No. suexec isn't a daemon so creating a new pipe at every suexec'd request
is a lot of overhead. Rotating the logfile by renaming via cronjob is safe
and should be sufficient.
Alternatively you can edit the suexec code but this is NOT recommended.
nd
--
die (eval q-qq:Just Another Perl Hacker
:-)
# Andr Malo, <http://pub.perlig.de/> #