Duke Hillard ([EMAIL PROTECTED]; Wednesday, February 12, 2003 3:27 PM):

> Jeremy Wadsack wrote:

>>Duke Hillard ([EMAIL PROTECTED]; Tuesday, February 11, 2003 4:23 PM):
>>
>>>Jeremy Wadsack wrote:
>>>
>>>>With your first attempt, you should have gotten all reports except
>>>>Directory with data unless Analog could not find the VHOST section
>>>>in your LOGFORMAT. In this case it should throw a warning (if you
>>>>have those enabled).
>>>>
>>>>For the SUBDIR, command, use this instead:
>>>>
>>>>SUBDIR http://*/*
>>>>
>>>Jeremy, thanks for your response.  I think that Analog sees the VHOST
>>>because my config file specifies a log format.  I didn't always specify one
>>>but it became necessary after switching from one host to virtual hosting.
>>>I won't list my entire config file in this message, but I will list commands
>>>that seem relevant to the situation.  In addition to these, I use ERRFILE
>>>on the command line to specify an error file.  I also tried SETTINGS ON
>>>and everything seemed normal.  Additional suggestions are appreciated.
>>>
>>>APACHELOGFORMAT (%v %h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i")
>>>WARNINGS -ER # ERRFILE command used & turning off empty reports
>>>ERRLINELENGTH 80 # screen width (in columns) of ERRFILE
>>>PROGRESSFREQ 10000 # notate ERRFILE after every 10K lines read in from 
>>>logfile
>>>DEBUG S
>>>
>>
>>If Analog isn't able to find the virtual host entry in the line it
>>spits that out as a corrupt line warning. Add DEBUG C to get the
>>message (reason) for that.
>>
>>You might try running a report with only the newer logs (those with
>>VHOSTs in them) to see if Analog isn't dropping lines with VHOST (or
>>something)
>>

> Jeremy, thanks for your ideas.  This is a followup to them.

> I used DEBUG CS in the Analog configuration.  Regardless
> of the presence|nonpresence of "%v", the number of corrupt
> lines remains constant at 299.  Without "%v", HTML output
> displays data in the Virtual Host, Virtual Host Redirection,
> and Virtual Host Failure Reports.  With "%v", HTML output
> displays an empty General Summary and nothing more.

> Without "%v", I get following output from DEBUG CS.

> S: Successful requests: 1255909
> S: Redirected requests: 53405
> S: Failed requests: 25502
> S: Requests returning informational status code: 0
> S: Status code not given: 0
> S: Unwanted lines: 17
> S: Corrupt lines: 299
> S: Earliest entry in logfile:  2/Feb/03:0302
> S: Latest entry in logfile:  9/Feb/03:0301

> With "%v", I get following output from DEBUG CS.

> 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: 1334833
> S: Corrupt lines: 299

> Notice the difference in unwanted lines.  According to
> Analog's docs, unwanted logfile entries are ones which
> have been explicitly excluded.  In an attempt to check
> my configuration, I tried SETTINGS ON twice: once
> with "%v" and a second time without "%v".  There was
> no difference in the results.  According to Analog, I was
> including and excluding the same items in both cases.  If
> that is the case, then it seems illogical to me that Analog
> would consider every line in my log (expect corrupt lines)
> to be wanted without "%v" and unwanted with "%v".  If
> I am missing something here, please feel free to tell me.
> I am open to any ideas that you or others might offer.

I assume when you say with/without %v you mean in the LOGFORMAT and
that "without" means you substituted %j?

You must have a VHOSTINCLUDE or VHOSTEXCLUDE line somewhere in your
config that is removing all lines for which %v is defined.


Otherwise, if you meant %v on the LOGFILE line, then check your
FILEINCLUDE and FILEEXCLUDE statements and make sure they don't start
with '/' when the file names are going to start with 'http://' after
applying %v.

-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  Digest version: http://lists.isite.net/listgate/analog-help-digest/
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to