📚 Encyclopedia

Tools & Workflow · updated 2026-10-13

Debugging client-side bugs from the server's access log

nginxaccess-logdebugginguser-agent401forensics

When a bug lives on a user's phone (local storage, client-side limits, a screen flow you cannot see), the server's access log is often the only witness. Every screen in an app makes a recognizable burst of requests, so you can reconstruct what the user did, minute by minute, without any client logging. This solved two TLDR bugs that looked impossible from the code alone.

How

Patterns worth grepping for

Limits

Access logs show method, path, status, size and timing, not bodies. Combine with database state (server-side drafts untouched since a date, rows created without follow-up metadata) to close the case.

See also

Linked from

Sources: tldr memory (bug-draft-prefill-saved, bug-upload-status-401-2mb, fix-background-polling), posts #1716, #1719, #1689