On Tue, 29 May 2001, Kevin Rattan wrote:
>
> I am using the extended format, which produces lines with the following
> structure:
>
> IPADDRESS, -, 13/02/2001, 17:44:05, W3SVC5, servername, IPADDRESS, 15, 209,
> 3462, 401, 5, GET, /default.htm, -,
>
First, this isn't extended format. It's similar to the MS IIS native format,
but IIS uses 2-digit years. What server produced this, by the way?
> This line fails (reading every line as corrupt):
>
> LOGFORMAT (%S, %u, %d/%m/%y, %h:%n:%j, %j, %j, %v, %T, %j, %b, %c, %j, %j,
> %r, %q,\n)
>
You need %Y not %y for a four-digit year.
--
Stephen Turner http://www.statslab.cam.ac.uk/~sret1/
Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
"Your account can only be used for a single internet session at any one
time and for no more than 24 hours in any one day." (NTL terms of use)
+------------------------------------------------------------------------
| This is the analog-help mailing list. To unsubscribe from this
| mailing list, go to
| http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
| List archives are available at
| http://www.mail-archive.com/[email protected]/
| http://lists.isite.net/listgate/analog-help/archives/
| http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------