httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joost de Heer" <>
Subject [users@httpd] Re: CustomLog Help ? Somebody?
Date Thu, 13 Apr 2006 17:22:07 GMT
> CustomLog "|/bin/sed 's/;variable/?variable' | /usr/sbin/rotatelogs
> /etc/httpd/logs/mysite.%Y-%m-%d-%H_%M_%S 5M" combined

- Instead of writing to a sed pipe, parsing the logfile before sending it
to Livestats is much better IMO.
- Does this command run fine from the command line? I.e. does 'echo
some_string|/bin/sed 's/;variable/?variable' | /usr/sbin/rotatelogs
/etc/httpd/logs/mysite.%Y-%m-%d-%H_%M_%S 5M' work fine?


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message