There is no way to get a listing of all cookies in your log. You will have
to specify their names the way you did.

There are actually two more format vars available:
$header:<header-name> is similar to the $cookie var for headers
$mime shows the request mime type

Marcel

----- Original Message -----
From: "Stephen M Hellman" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Wednesday, June 06, 2001 6:01 PM
Subject: Access Log Format with Cookies


> I am in need of formatting our access log files in a
> similar vein to the ways Apache does for WebTrends
> analysis specifically with regard to recording cookie
> information.
> In Apache, I would add the tag, \"%{Cookie}i\" , to
> the LogFormat for use with a CustomLog directive.
>
> In Orion, I know that in the web-site.xml file, I can
> add the directive
> $cookie:CookieID1
> to the access-log format to write a single cookie
> value to the access log.
>
> Unfortunately, this does not satisfy WebTrends needs.
> I need a cookie directive for the access log format
> that displays all the cookies as key-value pairs (ie.
> CookieID1=CookieValue1) similar to Apache, which also
> displays a "-" when no cookies are found.
> Our access-log format as been
> format="$ip - - [$time] &quot;$request&quot; $status
> $size &quot;$referer&quot;
> &quot;$agent&quot;
> &quot;COOKIE_ID1=$cookie:COOKIE_ID1&quot;"
>
> Hardcoding the "COOKIE_ID1=" in the access log format
> is no longer a viable option.
>
> Does anyone know the access log directive I am looking
> for or where I can find it or if it exists?
>
> stephen m hellman
> [EMAIL PROTECTED]
>
> PS - Sorry if this is posted twice. I sent it
> yesterday morning from my work email account, and the
> message still hasn't been posted to the list.
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/
>


Reply via email to