On Wed, 17 Oct 2001, Andrew Gaskell wrote: > But wouldn't that process lines containing the 1st format as well as the > 2nd? I wanted to throw out the lines containing the 1st. > > -----Original Message----- > From: Stephen Turner [mailto:[EMAIL PROTECTED]] > Sent: 17 October 2001 17:32 > To: '[EMAIL PROTECTED]' > Subject: RE: [analog-help] MS IIS4 MS IIS Log file Format (from FTP) > > > On Wed, 17 Oct 2001, Andrew Gaskell wrote: > > > Sorry, I'm not clear. If I want to discard some lines do I just use both > > LOGFORMAT lines after each other then: > > > > LOGFORMAT (%j 0, 0, 0, %j) > > LOGFORMAT (%s, %u, %d/%m/%y, %h:%n%j, %j, %v, %j, %j, %j, %j, %b, %j, > > [%j]%j, %j, %j,) > >
I'm not sure which is the first format now, but the LOGFORMAT with all the %j's will never count anything. It's just a question of which format is used for a line which matches both -- the one that counts things or the one that throws them away. -- Stephen Turner, Cambridge, UK http://homepage.ntlworld.com/adelie/stephen/ "This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01 +------------------------------------------------------------------------ | 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 +------------------------------------------------------------------------
