Uhler, John-DTD1 <[EMAIL PROTECTED]> wrote: > I have the following file format (Frontpage created author.log) and I > tried to create me own LOGFORMAT. The error I get is that all lines > of the log file are corrupt. > > File format: > [03 Jun 2002 08:16:55 -0500] 130.47.144.27 XXX\usernm - [server > version] - > [03 Jun 2002 08:16:56 -0500] 130.47.144.27 XXX\usernm / > [open service] - > > My logformat is as follows: > LOGFORMAT ([%d %M %Y %h:%n:%j %j] %s XXX\\%u %j [%C] %r) > > I tried a single and a double back slash by the user name. Same > result. > > What is wrong with my logformat?
[server version] and [open service] are not valid values for %C. Status codes are usually numbers. Some servers use OK instead of 200 (and possibly NOT FOUND for 404, etc. Analog knows that OK is a synonym for status code 200, but it doesn't recognize [server version] and [open service]. Just use %j instead of %C - analog will complain about a lack of status codes, but it will still work. Aengus +------------------------------------------------------------------------ | 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 +------------------------------------------------------------------------
