On Wed, 5 Apr 2000 [EMAIL PROTECTED] wrote:

> Hi
> 
> Domino has following kind of log file lines
>   www.aspectia.fi www.aspectia.fi - [04/Apr/2000:09:53:40 -0200] "GET
> /icons/collapse.gif HTTP/1.1" 200 111
>   www.aspectia.fi www.aspectia.fi CN=Jarmo Enala/O=Aspectia/C=FI
> [04/Apr/2000:09:53:42 -0200]
> 
>"GET/AM/uxt/AMxx.nsf/60486aa172782ec9c2235722a002dc2a9/ba66a6ed80787d6dc225687a0030dfa8?OpenDocument
> 
> HTTP/1.1" 200 1271
> 
> The problem is that the first line has only a user name
>      -
> but the second
>      CN=Jarmo Enala/O=Aspectia/C=FI
> containing spaces (one or more)
> 
> As &j rejects only one field I have tried
>   LOGFORMAT (%S %u %j [%d/%M/%Y:%h:%n:%j %j] "%j %r %j" %c %b)
>   LOGFORMAT (%S %u %j %j [%d/%M/%Y:%h:%n:%j %j] "%j %r %j" %c %b)
>   LOGFORMAT (%S %u %j %j %j [%d/%M/%Y:%h:%n:%j %j] "%j %r %j" %c %b)
> 
> Any better solutions?
> 

Are you trying to collect these user names, or ignore them? If you want to
ignore them (which you seem to be doing above), then it's easy:
  LOGFORMAT (%S %j[%d/%M/%Y:%h:%n:%j %j] "%j %r %j" %c %b)
to continue the %j until the first [

To collect them, you could try some horrible kludge like
  LOGFORMAT (%S %j %u[%d/%M/%Y:%h:%n:%j %j] "%j %r %j" %c %b)
  USERALIAS "* " $1

-- 
Stephen Turner               http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
"8th March 2000. National No Smoking Day. Ash Wednesday." (On a calendar)

------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to