Re:Log File Format incorrect???
2010/07/18 03:07:37
(permalink)
hi
not so long ago, they changed the httpd.conf file completely incl. deleting any information about how the logformat should be and probably alot of other information you would normally like to have in httpd.conf
re-add something like this to your conf file:
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
ErrorLog logs/error_log
LogLevel warn