Skip to content

Commit ed831e4

Browse files
ZStriker19brettlangdonjdKyle-Verhoog
authored
internal: Change trace too large message to debug (#1403)
* zach groves change log level for log that's larger than 256kb * Keeping as warning level log but not printing full trace * took out the trace since from the log since we are not printing it Co-authored-by: Brett Langdon <[email protected]> Co-authored-by: Julien Danjou <[email protected]> Co-authored-by: Kyle Verhoog <[email protected]>
1 parent 2587884 commit ed831e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ddtrace/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def send_traces(self, traces):
226226
payload.add_trace(trace)
227227
except PayloadFull:
228228
# If the trace does not fit in a payload on its own, that's bad. Drop it.
229-
log.warning('Trace %r is too big to fit in a payload, dropping it', trace)
229+
log.warning('Trace is too big to fit in a payload, dropping it')
230230

231231
# Check that the Payload is not empty:
232232
# it could be empty if the last trace was too big to fit.

0 commit comments

Comments
 (0)