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

Log Pion trace level logs at Debug level. #468

Merged
merged 1 commit into from
Sep 11, 2023
Merged

Log Pion trace level logs at Debug level. #468

merged 1 commit into from
Sep 11, 2023

Conversation

boks1971
Copy link
Contributor

Trying to debug connectivity issues in a deploy.
Need Pion trace level logs to check ICE details (candidates, STUN binding request/responses, etc.). So, log pion trace at Debugw instead of ignoring it.

Trying to debug connectivity issues in a deploy.
Need Pion trace level logs to check ICE details (candidates, STUN
binding request/responses, etc.). So, log pion trace at Debugw instead
of ignoring it.
}

func (l *logAdapter) Tracef(format string, args ...interface{}) {
// ignore trace
Copy link
Member

Choose a reason for hiding this comment

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

Should we do the l.shouldIgnore check with these?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Intentional skip as we want verbose details.

@boks1971 boks1971 merged commit 47d330e into main Sep 11, 2023
2 checks passed
@boks1971 boks1971 deleted the raja_pion_trace branch September 11, 2023 16:05
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.

3 participants