Hi;
I am running IIS 4.0 and have it configured to log in W3 Extended format.
Analog works fine except for the rare occasion when I have added a field to
the log format during the day. How do I get analog to start out in
Auto-Detect mode and then change to the later format? Basically, I have
added the User Agent field to the original format.
Here's what the file starts with;
#Software: Microsoft Internet Information Server 4.0
#Version: 1.0
#Date: 1999-09-21 00:00:01
#Fields: date time c-ip s-sitename s-ip cs-method cs-uri-stem sc-status
sc-bytes cs-version
1999-09-21 00:00:00 12.17.120.2 W3SVC1 146.6.50.33 GET /search/sample.idq
200 12739 HTTP/1.0
1999-09-21 00:00:00 129.116.20.206 W3SVC1 146.6.50.33 GET
/~gailg/Data/Ppoint/Coffee+Mug.wmf 200 5478 HTTP/1.1
Here is what it ends with;
#Software: Microsoft Internet Information Server 4.0
#Version: 1.0
#Date: 1999-09-21 23:35:12
#Fields: date time c-ip s-sitename s-ip cs-method cs-uri-stem sc-status
sc-bytes cs-version cs(User-Agent)
1999-09-21 23:35:11 128.83.113.73 W3SVC1 146.6.50.33 GET
/courses/fall1999/msc371h/P13_12.XLS 200 25863 HTTP/1.0
Mozilla/4.05+[en]+(Win95;+I)
1999-09-21 23:35:17 128.83.176.49 W3SVC1 146.6.50.33 GET
/~scott/classes/MIS3733/fall99u.htm 200 39136 HTTP/1.0
Mozilla/3.0+(Win95;+I)
This is the second format declaration I use and it works fine on log files
that don't change;
LOGFORMAT (%Y-%m-%d %h:%n:%j %S W3SVC%j %v %j %r %c %b %j %A\n)
Thanks,
--Gary Joslin
-----------------------------------------
Gary Joslin, Systems Analyst
Computer Services - Texas Business School
CBA 1.324, Mail Code; B6003
Austin, Tx. 78712
[EMAIL PROTECTED]
Ph: (512) 475-6898
Fax: (512) 475-8681
------------------------------------------------------------------------
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]/
------------------------------------------------------------------------