Hello!
On Fri, Jun 7, 2013 at 2:36 PM, Nicolas Rioux wrote:
> Hi! I'm trying to use the "print" from ngx_lua to output app debugging info
> in the nginx error.log.
> I can't seem to get it to work. I must be missing some understanding on how
> it works.
>
print() emits nginx error logs on the "[notice]" level. So ensure that
the level parameter in your error_log directive is properly configured
in your nginx.conf, for example,
error_log logs/error.log notice;
Best regards,
-agentzh