Guides ยท Technology

Debugging with Logs Basics

Use logs to diagnose problems fast

This guide covers effective debugging with logs: ensure logs include request IDs and key context, search by time windows, correlate across services, and turn findings into fixes and better observability.

Start with time and scope

Identify when the issue started and which users/requests are affected to narrow the search window.

Use correlation IDs

Trace a single request across services using request_id/trace_id fields.

Look for patterns

Compare failing vs successful requests to spot differences in inputs, code paths, or dependencies.

Improve logs after

Add missing fields or better error messages and create an alert/runbook for repeats.

Related Terms