Changelog - 2026-09-17
Long strings are capped in every log line
FixIn one line. A request body carrying data:image/png;base64,... used to turn one log line into hundreds of kilobytes. Long strings are now cut.
{"image":"data:image/png;base64,iVBORw0KG... [truncated, 302144 chars total]"}What changed
- Default cap: 2048 characters. The original length stays in the marker, so you can tell a 300 KB image from a truncated sentence.
- Turn it off.
APP_ENV_LOGGER_MAX_STRING_LENGTH=0. - Never capped.
stack,stacktraceandstack_trace. APP_ENV_LOGGER_DO_REDACT=falsedoes not disable it. That switch is about masking secret-shaped keys only.
Who is affected
- You log large strings deliberately. Raise or disable the limit.
- Everyone else. Smaller logs, same content.