How to log POST data?

hi Group,

First time to post here, nice to meet you guys.

How to configure log POST data in Nginx? Need any 3rd party module to
achieve this?

Regards,
Yan

On Sat, Feb 27, 2010 at 3:01 AM, Liu Y. [email protected] wrote:

hi Group,
First time to post here, nice to meet you guys.
How to configure log POST data in Nginx? Need any 3rd party module to achieve this?

Try using the $request_body variable?

http://wiki.nginx.org/NginxHttpCoreModule#.24request_body

It has some limitations though :wink:

Cheers,
-agentzh

On Sat, Feb 27, 2010 at 03:39, agentzh [email protected] wrote:

Try using the $request_body variable?

  http://wiki.nginx.org/NginxHttpCoreModule#.24request_body

It has some limitations though :wink:

Meaning you’d have to get the data only until the first \n? Kind of
overkill, no?


() ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\ ascii ribbon campaign - against html e-mail

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs