Hello! On Fri, Jun 26, 2015 at 3:41 AM, David Santhosh wrote: > Is it possible to set up the lua module to log to a different file than the > default nginx.log. > > ngx.log and print sends the messages to nginx error.log, I want this to be > changed and use my custom log file. Let me know if this doable. > This is an FAQ :) http://openresty.org/faq.html#can-i-use-custom-loggers-in-lua Let me know if you have any further questions. Best regards, -agentzh
Hello! On Fri, Jun 26, 2015 at 3:41 AM, David Santhosh wrote: > Is it possible to set up the lua module to log to a different file than the > default nginx.log. > > ngx.log and print sends the messages to nginx error.log, I want this to be > changed and use my custom log file. Let me know if this doable. > This is an FAQ :) http://openresty.org/faq.html#can-i-use-custom-loggers-in-lua Let me know if you have any further questions. Best regards, -agentzh .