Welcome! Log In Create A New Profile

Advanced

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

Rv Rv
October 10, 2014 09:06AM
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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

Rv Rv October 10, 2014 09:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 281
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready