Cookie information in log file
Dave Cheney
dave at cheney.net
Thu Jun 19 17:56:11 MSD 2008
This is the log format we using with our urchin 6 setup
log_format urchin '$remote_addr $http_host - [$time_local] "$request"
$status $body_bytes_sent "$http_referer" "$http_user_agent"
"$http_cookie"';
Cheers
Dave
On 19/06/2008, at 7:45 PM, Sebastian Geib wrote:
> Hi Maxim,
>
> Maxim Dounin schrieb:
>>> Is there something like $http_cookie which I could simply append
>>> to my current log format that would bring the same functionality
>>> as the log format Google describes for Apache?
>> http://wiki.codemongers.com/NginxHttpCoreModule#variables
>> All http headers have their $http_* counterparts, and $http_cookie
>> is here too.
> Thank you for you fast response. Apparently I was looking in the
> wrong place. Now that looks much better in the log files.
>
> Sebastian
>
More information about the nginx
mailing list