Hello!
On Mon, Dec 10, 2012 at 2:47 PM, mokolah wrote:
> Is it possible to include a lua variable (either local or global) in to
> access log along with other stuff we usually log (e.g., ip, uri, args, ...)?
>
Yes. You can save your Lua variable values into your own Nginx
variables and reference these Nginx variables in your access log
template specified by the log_format directive:
http://wiki.nginx.org/HttpLogModule#log_format
Best regards,
-agentzh