logging forum user names/id
is at rambler-co.ru
Thu Dec 11 10:11:27 MSK 2008
On Wed, Dec 10, 2008 at 07:45:15PM -0800, mike wrote:
> i don't believe you can, unless nginx can log cookie values (i don't
> recall if it can) and the username/ids are stored plaintext (which any
> decent forum package shouldn't) in a cookie you can access
Since 0.7.24, you may use $cookie_NAME.
> On Wed, Dec 10, 2008 at 5:48 PM, KT Walrus <kevin at my.walr.us> wrote:
> > 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).
More information about the nginx