Request logs are searchable and no longer split in Datadog
Shipped 2026-10-26
Searchable
The log line written for every production request had no message, so it
could only be found by attribute. It now has event: http.request and a
message such as POST /api/auth/login 200.
Never split
Docker splits stdout lines longer than 16 KiB, and Datadog receives the pieces
as separate events it cannot parse. A request that ran many queries, such as a
logbook approval with around 90, produced one. The line is now kept under
15,000 characters by giving up detail in this order, recording each step in a
trimmed field:
span_data: the parameters of each query span (name and duration stay)spans: all but the 20 slowest spans, kept in order, withspan_countsp_data: stored-procedure arguments (the procedure names stay)body: the request body, replaced by its size
A 90-span logbook approval of about 20,000 characters now logs as one 8,000-character line with every span kept.
Last updated on