Hi there,
I'm trying to generate some logs with analog. I get an error message
saying
analog: Warning L: Large number of corrupt lines in logfile
/ext/canon-europa-logs/access.log.9.gz: try different LOGFORMAT
Current logfile format:
"%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B""\n
My httpd.conf contains the following lines to do with LogFormat :
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
In my analog.cfg file I have the following line:
APACHEDEFAULTLOGFORMAT ("%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"")
However I think that maybe the LogFormat has changed and this is no longer
valid. I think this because I only get the error I mentioned on logs older
than 3 months. All current logs work fine. A sample line from a log is
below. What APACHEDEFAULTLOGFORMAT should I be using ?
203.141.89.174 - - [19/Sep/1999:06:31:19 +0100] "GET /media/products_1f.gif HTTP /1.0"
200 2162 "http://www.oursite.com/text_p.html" "Mozilla/4.04 [en] (Win95; I)" 0
www.oursite.com
Thanks :-)
--
Wayne Pascoe <[EMAIL PROTECTED]>
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------