I'm trying to format the following WebStats.log file that is generated by
global.asa in IIS4:

[1/1/04 12:00:57 AM]
  IP        : 208.187.33.211
  Referrer  : 
  Server    : gacpc.com (Port:80)
  Start URL : /gacpc/culture_shock/cs_country_guides.asp
  SSL/HTTPS : off
  Protocol  : HTTP/1.1
  Language  : 
  User Agent: Mozilla/4.0 (compatible; grub-client-1.4.3; Crawl your own
stuff with http://grub.org)
  Cookie Inf: 
  Req Method: GET

[1/1/04 12:08:31 AM]
  IP        : 24.157.234.229
  Referrer  : 
  Server    : www.gacpc.com (Port:80)
  Start URL : /gacpc/titles/title_pages/eyenee.asp
  SSL/HTTPS : off
  Protocol  : HTTP/1.0
  Language  : 
  User Agent: Mozilla/4.0 (compatible; grub-client-1.5.3; Crawl your own
stuff with http://grub.org)
  Cookie Inf: 
  Req Method: GET

I am using the following LOGFORMAT statement: 
LOGFORMAT ([%m/%d/%y %h:%n:%j %am]\n\t%j\t: %s\n\t%j\t: %f\n\t%j\t:
%v\n\t%j\t: %r\n\t%j\t: %j\n\t%j\t: %j\n\t%j\t: %j\n\t%j\t: %B\n\t%j\t:
%j\n\t%j\t: %j\n\n)

However, I get the error: 
C:\Working\analog 5.32\analog.exe: Warning L: Large number of corrupt lines
in
  logfile C:\Working\analog 5.32\WebStats2004.log: turn debugging on or try
  different LOGFORMAT
    Current logfile format:
      [%m/%d/%y %h:%n:%j %am]\n\t%j\t: %S\n\t%j\t: %f\n\t%j\t: %v\n\t%j\t:
%r\n\t%j\t: %j\n\t%j\t: %j\n\t%j\t: %j\n\t%j\t: %B\n\t%j\t: %j\n\t%j\t:
%j\n\n

Is this doable? Or is the formatting off? Thanks for any suggestions (except
to upgrade :) )
+------------------------------------------------------------------------
|  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