On Tue, Mar 17, 2009 at 1:11 AM, John Armstrong <jarmstr...@bepress.com> wrote:
> I have inherited an old, fragile codebase that uses CookieTracking. Great!
>
> Except that when they implemented it they used
>
> %{Cookie}i which outputs the cookie as 'cookiename=cookievalue' in the
> logfile. It also ignores the first hit since its a header based
> cookie, not a module based cookie, and we lose hits.
>
> So, we decided to change to %{Cookie}n so our first hit logs.
> Unfortunately, this outputs as 'cookievalue' so our
> SuperTerrificTotallyCustomAndFragile log analysis software breaks
> since it can't parse the unique user out of the logfile with the
> cookie name.
>
> Anyone know of a patch or a tweak that will get %{Cookie}n to output
> 'cookiename=cookievalue'?

Have you looked at the docs?
http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#formats

Krist


-- 
krist.vanbes...@gmail.com
kr...@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to