Click to See Complete Forum and Search --> : apache logging for urchin


hoffa69
07-07-2003, 08:00 PM
Hi, I just got urchin for log file analysis and need to modify logging in apache to get referrals to work. I have following in apache now:

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

Urchin meantions something like this:
LogFormat "%h %v %u %t \ "%r\ " %>s %b \ "%{Referer}i\" \ "%{User-Agent}i\" \"%{Cookie}i\"" special . . .

and it each one of my virtual hosts I have:

ErrorLog logs/domainhere.com-error_log
TransferLog logs/domainhere.com-access_log

I tried commenting out Log stuff above and adding new log stuff and then modifiying virtualhost to add "special" to transfer log but when I restart I get some mod_php error messages.

I'm wondering if anyone else has gotten referral logging working in Apache. Anyone??

chrism01
07-08-2003, 10:42 AM
I'm no php guy, but i'd recommend posting the error msgs if you want help with that. :-)