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日志;

注意日志配置的作用域;

原文地址:https://www.cnblogs.com/rsapaper/p/10149729.html