How to print at non emergency, critical, error from nginx configuration log

Rv Rv rvrv7575 at yahoo.com
Fri Oct 10 13:02:14 UTC 2014


Hello,

If I use ngx_conf_log_error during parsing an nginx configuration (post config phase), the messages at NGX_LOG_INFO are not printed to the error log even when I set it the error log to log debug level.
I can see the   NGX_LOG_ERR, NGX_LOG_WARN , NGX_LOG_EMERG etc though. I scanned through the code and don't find any example of the code logging at NGX_LOG_INFO.
Ultimately, ngx_conf_log_error also uses ngx_log_error which should log at NGX_LOG_INFO. Before investigating further, I wanted to understand if this is intended and if there are any workarounds. Thanks 
for any inputs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20141010/bf1c750d/attachment.html>


More information about the nginx mailing list