|
|||||||||
![]() |
|||||||||
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: CRONOLOG: [help] OSX & Cronolog: Newbie
|/usr/sbin/cronolog /Library/Webserver/Documents/Logs/%Y/%m/test.log
Assuming yours did too your log line needs to be... |/bin/cronolog /Library/Webserver/Documents/Logs/%Y/%m/test.log We have pretty well abandoned the Apple GUI tools but if you want to continue to use them you need to turn logging off for your site (yes I know it sounds wierd) and then manually edit the httpd_macosxserver.conf fle. Look for the following line in the virtual host... CustomLog "/dev/null" "%h %l %u %t \"%r\" %>s %b" And add an extra line so it looks like this... CustomLog "/dev/null" "%h %l %u %t \"%r\" %>s %b" CustomLog "|/bin/cronolog /Library/Webserver/Documents/Logs/%Y/%m/test.log" This actually explained in section 7 at the top of the httpd_macosxserver.conf file. The trouble with this method is that if you have a lot of virtual hosts you get a separate cronolog process running for each site. We ended up creating one 'overall' log for all our virtual hosts. If you want to do this I can give more instructions. Been running os 8/9 based websrvers for many years, so not totally new to
Paul
|