ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

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

логирование cookies в access_log


  • To: nginx-ru@xxxxxxxxx
  • Subject: логирование cookies в access_log
  • From: Ihalainen Nickolay <ihanick@xxxxxxxxx>
  • Date: Fri, 19 Feb 2010 09:34:04 +0300
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=rXj0ou4TeadDJEr25/GZ0i+ylGniV0/sHX2NssVoWWg=; b=wYoyXuUJlHMyDJMwp1JvAMu1RDSResXA63KUIZhieS3Qa1aDQoFN2h+oI+UgSDaTpJ 1rH8g3ZsPQeMDDdSPgtrHw9mWs2UmL3WID4m+1cywBP+Ff3kqiWzi45EQcA9ab0p5QDr teJW/beB2d0b2oCvU12JLL8+JnlgRwYww+kqE=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=mKBpRIJ6k3w6iJ/NKhIT6hEg6GCxEQHYkJUKC6VkN/xxPTR/b8P8ZVUpFrEUCOnK5v jkSWVXDaJBB3kLm7DNBkVakwNsH4hQQpdb9sQqF+f5RFWUzp9/HQI9iLiRCGzXGd1Kao GpvHkcALHiiF6TQGnmpVU1OH3PfWxnW14mViE=

Здравствуйте.
Куку не содержащую спецальных символов можно логировать так:
    log_format main
        '$status $remote_addr "$http_user_agent" '
        '"$http_referer" "$request" $bytes_sent [$time_local]
"$cookie_PHPSESSID"';

А как залогировать куку со скобками?
Cookie: forum[login]=testuser
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.