Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduce debug logging #65

Merged
merged 1 commit into from
Aug 13, 2020
Merged

reduce debug logging #65

merged 1 commit into from
Aug 13, 2020

Conversation

wangzlei
Copy link
Contributor

Issue #, if available:
#62

Description of changes:
remove N^2 redundant logging

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@@ -80,7 +80,7 @@ func (r *RingBuffer) Send(s *tracesegment.TraceSegment) {
log.Warn("Segment buffer is full. Dropping oldest segment document.")
telemetry.T.SegmentSpillover(1)
default:
log.Debug("Buffers: channel was de-queued")
log.Trace("Buffers: channel was de-queued")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you confirm this was the only really noisy debug log?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants