httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joost de Heer" <sang...@xs4all.nl>
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?

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


Mime
View raw message