5 messages in ru.sysoev.nginxlogging forum user names/id
FromSent OnAttachments
KT WalrusDec 10, 2008 5:47 pm 
mikeDec 10, 2008 7:44 pm 
mikeDec 10, 2008 7:46 pm 
Igor SysoevDec 10, 2008 11:11 pm 
Igor SysoevDec 10, 2008 11:12 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:logging forum user names/idActions...
From:KT Walrus (kev@my.walr.us)
Date:Dec 10, 2008 5:47:44 pm
List:ru.sysoev.nginx

I'm hosting a forum. I'd like to log the forum user name/id into nginx access_log.

What is the best way to do this?

Should I have forum php code set a header with this user name/id and somehow get this into an nginx variable I can use in the log_format statement?

Or, some other "better" approach?

Also, is there some way to print out all nginx conf variables that are visible (like phpinfo() does for php)? I'm having a hard time with the English wiki documentation as names of variables seem to be in multiple places (some of which I can't find).

Kevin