Hello!
2016-08-28 8:04 GMT-07:00 何兆阳:
> I met the same question also,
> when I use ngx.ERR, it can be added in the error.log
> but when I use ngx.NOTICE, it can't work
>
> also when I use the simplest example.
>
见 http://nginx.org/en/docs/ngx_core_module.html#error_log
如果你自己在 nginx.conf 配置里面过滤掉了 error 级别以下的日志,你自然看不到 notice 和 info 这些级别的日志了。
Regards,
-agentzh