https://docs.nginx.com/nginx/admin-guide/monitoring/logging/
error_log logs/error.log warn;
In this case, messages of warn, error crit, alert, and emerg levels are logged.
warn
error
crit
alert
emerg
正常的请求信息在debug情况下,写入error日志;
注意日志配置的作用域;