You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Karen McLaughlin <k....@umassp.edu> on 2002/10/01 23:33:08 UTC
[users@httpd] cronolog and apache not working
I am trying to get cronolog to do a daily rotation of my web logs on my
virtual sites ..
We are doing this on a site by site basis as some of the logs will have
various things eliminated
from their logging (eg gifs, jpgs) ...
I downloaded the cronolog zip file from www.cronolog.org
and unzipped it --- it suggested i move the cronolog.exe into the
apache/bin directory so i did that ... that was about all i gleaned of
an "install"
It appears cronolog isnt working at all although the format is accepted
in the httpd.conf file.
The original log format (this is under one of my virtuals --- and works
..)
CustomLog h:/web/my.web.site.org/logs/my.web.site.org-access.log
combined env=!image_logging
One of my variations trying to get cronolog to work -- have cronolog in
apache root/bin dir
tried it with and without a leading / after the pipe:
CustomLog "|bin/cronolog.exe
/web/my.web.site.org/logs/%Y/%m/my.web.site.org-access-%Y-%m-%d.log"
combined env=!image_logging
In the latest version i tried to add a TransferLog as well as the custom
log --- I am suspecting this
is probably NOT right...
CustomLog h:/web/my.web.site.org/logs/my.web.site.org-access.log
combined env=!image_logging
TransferLog "|bin/cronolog.exe
/web/my.web.site.org/logs/%Y/%m/my.web.site.org-access-%Y-%m-%d.log"
They all are "accepted" by apache but the cronolog feature doesn't work
... in fact, in the second log format mentioned --- I believe it is
logging nothing ...
Would appreciate any leads on this ... or leads on alternate ways to do
it -- I dont think the apache
rotatelogs is flexible enough to give me the daily logs in the format i
wish.
thanks
Karen