Nginx: error_log & access_log & rewrite_log
GoAccess:
GoAccess - 中文站 - 可视化 Web 日志分析工具
goaccess access.log -o ../html/report.html --real-time-html --time-format='%H:%M:%S' --date-format='%Y-%b-%d' --log-format=combined
error_log 属于 Core functionality Core functionality (nginx.org)
access_log 属于 ngx_http_log_module Module ngx_http_log_module (nginx.org)
rewrite_log 属于 ngx_http_rewrite_module Module ngx_http_rewrite_module (nginx.org)
error_log:

默认error级别, 如果使用debug级别, 必须添加编译支持, 默认编译选项没有开启debug

stderr 特殊值指代编译时 --error-log-path=/var/log/nginx/error.log 指定值

access_log:

 
 
 
 
                    
                
 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号