Field truncation
Author: andrewbanchichCreated Feb 11, 2023Updated Aug 18, 2026
Labelskind/featurehelp wantedgood first issuecrate/subscriber
Feature Request
For large fields, tracing instrumentation can make logs pretty hard to read. It would be really nice to have some setting for the instrument macro that would truncate fields longer than a given value.
Source: tokio-rs/tracing