Re: Cookie tracking question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 17, 2009 at 1:11 AM, John Armstrong <jarmstrong@xxxxxxxxxxx> 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.vanbesien@xxxxxxxxx
krist@xxxxxxxxxxxxx
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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux