debug error 错误日志的调试模式

 

https://docs.nginx.com/nginx/admin-guide/monitoring/logging/

error_log logs/error.log warn;

In this case, messages of warnerror critalert, and emerg levels are logged.

 

正常的请求信息在debug情况下,写入error日志;

注意日志配置的作用域;

 

posted @ 2018-12-20 15:35  papering  阅读(541)  评论(0)    收藏  举报