调试日志
./configure --with-debug ...error_log /path/to/log debug;configure arguments: --with-debug ...service nginx stop
service nginx-debug starterror_log /path/to/log debug;
http {
server {
error_log /path/to/log;
...为指定客户端做调试日志
记录日志到循环内存缓冲区
原文档
最后更新于