Forum Moderators: phranque

Message Too Old, No Replies

Log Cookie

I want to add to access.log cookie info

         

mrak

12:29 am on Mar 30, 2006 (gmt 0)

10+ Year Member



I would like to add to my apache access logs cookie information ie:email, username (the cookie is created by jsp file, not apache)

Can I add something to log.conf file

similar to: \"%{CookieName}i\" to

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined

If that doesn't work,

Do I use Cookie log and combine it with access log and how?

thx
mark

mrak

1:41 am on Mar 30, 2006 (gmt 0)

10+ Year Member



If anyone is interested:
\"%{cookie}i\"
works

jdMorgan

2:22 am on Mar 30, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



mrak,

Welcome to WebmasterWorld!

Thanks for posting your solution.

There aren't very many members in this forum this evening, apparently...

Jim