Architecture Pony
Nov 12, 2026 · Operations
Nginx Logging Deep Dive: $request_time vs $upstream_response_time, Log Rotation Pitfalls, and Production Troubleshooting
This article analyzes three real Nginx incidents to teach production log design, log rotation via USR1 signal, and a three-step time-difference method to pinpoint latency across client, Nginx, and upstream layers using $request_time, $upstream_connect_time, and $upstream_response_time.
499USR1access_log
0 likes · 40 min read
