Howdy,
After spending way to much time on this I am throwing myself on the
mercy of the group. The server is an apache, but I gather since it has
the {referer} and {user-agent} I cannot use the apachelogformat (it does
not work anyway). So I am attempting to construct a custom log formt.
>From my hosting guys, the contents of the http.conf file
LogFormat "%h %l %u %t \"%r\" %s %b %v \"%{Referer}i\" \"%{User-agent}i\""
This does not really seem to match up with my actual items in the access
log. My best "guess" at the logformat command line
LOGFORMAT {%s %j %j [%d/%M/%Y:%h:%n%j] "%j %rHTTP"%c%b %F "%j" %B)
This results in the error from Analog 3.31
Processing...
analog: Warning C: Bad argument in configuration command: ignoring it:
LOGFORMAT %s %j %j [%d/%M/%Y:%h:%n%j] "%j %rHTTP"%c%b %F "%j" %B
(For help on all errors and warnings, see docs/errors.html)
analog: Warning C: (reason: an unknown item code is present)
analog: Warning L: Large number of corrupt lines in logfile pnntemp.log: 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
%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n
%S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n
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 Browser Summary
analog: Warning R: Turning off empty File Size Report
analog: Warning R: Turning off empty Status Code Report
Complete!
A few lines from my log file:
209.67.229.138 - - [01/Jul/1999:00:00:09 -0400] "GET /robots.txt
HTTP/1.0" 200 92 www.peaksnewsnet.com "-" "Lycos_Spider_(T-Rex)"
209.67.229.138 - - [01/Jul/1999:00:00:09 -0400] "GET
/newsstand/weekm.html HTTP/1.0" 404 895 www.peaksnewsnet.com "-" "Lycos_Spider_(T-Rex)"
205.188.209.40 - - [01/Jul/1999:00:00:27 -0400] "GET
/newsstand/current/arlenef.html HTTP/1.0" 200 3878 www.peaksnewsnet.com
"http://www.peaksnewsnet.com/newsstand/current/index.html" "Mozilla/4.0
(compatible; MSIE 4.01; AOL 4.0; Windows 98)"
205.188.209.73 - - [01/Jul/1999:00:01:00 -0400] "GET
/newsstand/current/letters.html HTTP/1.0" 200 22120 www.peaksnewsnet.com
"http://www.peaksnewsnet.com/newsstand/current/index.html" "Mozilla/4.0
(compatible; MSIE 4.01; AOL 4.0; Windows 98)"
205.188.209.37 - - [01/Jul/1999:00:01:03 -0400] "GET
/newsstand/art/letters.gif HTTP/1.0" 200 2807 www.peaksnewsnet.com
"http://www.peaksnewsnet.com/newsstand/current/letters.html"
"Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98)"
Thanks for any help you all can offer. By the way this is running on a
Mac, system 8.5.1
With Logformat Auto, I get the error:
analog: Warning L: Large number of corrupt lines in logfile pnntemp.log: try
different LOGFORMAT
mark
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------