I'm at my wit's end.  I've checked through every thread on
the searchable archive regarding APACHELOGFORMAT, and I
still can't get it to work right (I always get an error and
an empty report).  Can someone take a look at this for me
and tell me what I'm doing wrong here?  I've been trying to
get this to work for weeks without success:

Here's a sample of our log data (I had to change the domain
names due to contractual obligations, yadda yadda):

 www.domain.net 210.70.55.227 - - [09/Feb/2000:00:00:06
-1300] "GET /path_of_file.html HTTP/1.0" 302 300
"http://referrer.com" "Mozilla/4.0 (compatible; MSIE 5.5;
Windows 98)" 


Here's my LogFormat directove from httpd.conf (Apache):

LogFormat " %v %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


Here's one of the APACHELOGFORMAT commands I've tried using
with Analog 4.03 (Mac):

APACHELOGFORMAT (%v %h %l %u %t \"%<r\" %>s %b
\"%{Referer}i\" \"%{User-Agent}i\")

(I've made sure that this is specified after the LOGFILE
command, and I've commented out the LOGFORMAT command)


Here's the error message from Analog 4.03:

Processing...
analog: Warning D: LOGFORMAT in configuration file
analog.cfg with no
  subsequent LOGFILE
  (For help on all errors and warnings, see
docs/errors.html)
analog: [01:19:08] 100000 lines read
analog: [01:19:15] 200000 lines read
analog: [01:19:22] 300000 lines read
analog: [01:19:29] 400000 lines read
analog: [01:19:36] 500000 lines read
analog: [01:19:42] 600000 lines read
analog: [01:19:49] 700000 lines read
analog: Warning L: Large number of corrupt lines in logfile
Macintosh
  HD:Desktop Folder:access_log.02Mar00: 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

(Just an FYI: I've tried it with APACHELOGFORMAT before
LOGFILE, too, and here's what I get:

Processing...
analog: Warning M: Logfile Macintosh HD:Desktop
Folder:access_log.02Mar00
  contains lines with no file names: page counts may be low
  (For help on all errors and warnings, see
docs/errors.html)
analog: Warning M: Logfile Macintosh HD:Desktop
Folder:access_log.02Mar00
  contains lines with no bytes: byte counts may be low
analog: [01:29:38] 100000 lines read
analog: [01:29:44] 200000 lines read
analog: [01:29:51] 300000 lines read
analog: [01:29:59] 400000 lines read
analog: [01:30:07] 500000 lines read
analog: [01:30:14] 600000 lines read
analog: [01:30:22] 700000 lines read
analog: Warning L: Large number of corrupt lines in logfile
Macintosh
  HD:Desktop Folder:access_log.02Mar00: try different
LOGFORMAT
    Current logfile format:
      %v %S %j %j [%d/%M/%Y:%h:%n:%j] "%jr" %c %b "%f"
"%B"\n

)

Can anyone tell me where I'm going wrong?  I'm very
desperate right now. Any help would be greatly appreciated!

I'm having a lot of trouble undertstanding the intricacies
of defining the logformat for some reason... please bear
with me!

-*-*-*-*-*-*-*-*-*-*-*-
[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]/
------------------------------------------------------------------------

Reply via email to