log
What is log?
log: A timestamped record of a discrete event. High detail, high volume — the thing you grep when an alert fires. A log is a timestamped record of something that happened, such as a request, an error or a payment being declined. Logs carry the most detail of all monitoring data, which is why you turn to them when an alert fires.
Frequently asked questions about log
How is log used in practice?
Structured logs are much easier to work with than free text. A line with fields like order_id=4821 status=declined gateway=stripe, or a JSON log, can be filtered and searched precisely.
What should you keep in mind with log?
Log with care. Include context that helps debugging, such as IDs and the request or trace ID, but never passwords, tokens, full card numbers or more personal data than needed. Use levels consistently, so errors stand out from routine information. Send logs to a central place, because logs scattered over many servers or short-lived containers are almost useless when you need them.
What does an example of log look like?
2026-05-29T10:02:11Z ERROR order_id=4821 payment_declined gateway=stripe At a glance
| Category | Observability |
|---|---|
| Explained by | Reinier de la Parra |
| Updated |