You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joost de Heer <sa...@xs4all.nl> on 2006/04/13 19:22:07 UTC

[users@httpd] Re: CustomLog Help ? Somebody?

> 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?

Joost


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org