On 6/17/03 10:00 AM Stephen Turner ([EMAIL PROTECTED]) wrote: >> What Logformat should I use so that I get the complete user name on the >> report? >> >> Sample line: >> 10.33.50.20 servername Dan Phipps [16/May/2003:09:49:39 +0500] "GET >> /QuickPlace/merck/Main.nsf/$defaultview/90B17F2C2AB1926F852569C9006B4C95/$FI >> LE/Main.gif?OpenElement&1044581028 HTTP/1.0" 304 0 >> > >You can't. If you have spaces in your usernames, you need to put them in >quotes in the logfile, otherwise analog doesn't know where the username >ends.
Couldn't this be done by making a special format that terminated the user name on the '[' of the date field? Something like: LOGFORMAT (%S %j %u[%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b) That would include the trailing space as part of the user name, but that shouldn't cause any serious problems. Jason ----------------- [EMAIL PROTECTED] ----------------- Dr. Seuss books . . . can be read and enjoyed on several levels. For example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed as a searing indictment of the narrow-minded binary counting system. -- Peter van der Linden, Expert C Programming, Deep C Secrets +------------------------------------------------------------------------ | 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 +------------------------------------------------------------------------
