Hi Aengus,
I was reading through your help section and have been having similar
problems with getting the right logformat for Analog to read the log
files I get from my ISP.
basically they are also in modified format:
whackmybush.com: [12/Mar/2007:00:00:23 +0000] 71.214.65.149 - - "GET /
rss.xml HTTP/1.1" 200 2224 "-" "iTunes/7.1 (Macintosh; N; PPC)"
whackmybush.com: [12/Mar/2007:00:00:24 +0000] 71.214.65.149 - - "GET /
episodes/2007/WMBEP1BIGBRO.mp3 HTTP/1.1" 404 236 "-" "iTunes/7.1
(Macintosh; N; PPC)"
whackmybush.com: [12/Mar/2007:00:00:28 +0000] 194.109.35.2 - - "GET /
rss.xml HTTP/1.1" 200 2224 "-" "Mozilla/4.0 (compatible; Win32;
WinHttp.WinHttpRequest.5)"
I've configured the format for analog.cfg:
(%v: [%d/%M/%y:%h:%n:%j %j] %s - - "%j %r %j" %c %b "%f" "%B")
and it's before the Logfile dir.
However, when I run Analog the error's seem to be - L: too many
corrupt lines in the file format - Analog does attempt to read the
logfiles and is very slow as it goes through them line by line.
Usually it's a C: before each entry and a C: * on a seperate line too.
ie the output looks like this:
C: whackmybush.com: [03/Oct/2007:16:18:32 +0100] 66.214.232.81 - -
"GET /rss.xml HTTP/1.1" 200 19245 "-" "iTunes/7.4.2 (Macintosh; N;
Intel)"
C: *
C: whackmybush.com: [03/Oct/2007:16:19:52 +0100] 219.90.182.135 - -
"GET /images/idiotsrule.jpg HTTP/1.1" 200 16681 "http://
www.podcastdirectory.com/genre/comedy/" "Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7"
C: *
F: Closing logfile Rikard's HD:users:edwardrikard-
bell:websites:whackmybush2:logfiles:ex071003.log
S: Successful requests: 0
S: Redirected requests: 0
S: Failed requests: 0
S: Requests returning informational status code: 0
S: Status code not given: 0
S: Unwanted lines: 0
S: Corrupt lines: 859
analog: Warning L: Large number of corrupt lines in logfile Rikard's
HD:users:edwardrikard-
bell:websites:whackmybush2:logfiles:ex071003.log: turn
debugging on or try different LOGFORMAT
Current logfile format:
%v: [%d/%M/%y:%h:%n:%j %j] %S - - "%j %r %j" %c %b "%f" "%B"\n
F: Opening testoct07.html as output file
analog: Warning R: Turning off empty time reports
analog: Warning R: Turning off empty Request Report
analog: Warning R: Turning off empty Failure Report
analog: Warning R: Turning off empty File Type Report
analog: Warning R: Turning off empty Directory Report
analog: Warning R: Turning off empty Host Report
analog: Warning R: Turning off empty Domain Report
analog: Warning R: Turning off empty Referrer Report
analog: Warning R: Turning off empty Referring Site Report
analog: Warning R: Turning off empty Failed Referrer Report
analog: Warning R: Turning off empty Browser Report
analog: Warning R: Turning off empty Organisation Report
analog: Warning R: Turning off empty Search Word Report
analog: Warning R: Turning off empty Browser Summary
analog: Warning R: Turning off empty Operating System Report
analog: Warning R: Turning off empty File Size Report
analog: Warning R: Turning off empty Status Code Report
F: Closing testoct07.html
Complete!
It seems strange the files are corrupt? Any ideas on the problem?
Would be much appreciated.
Thanks
Rik
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Analog Documentation: http://analog.cx/docs/Readme.html
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------