Skip to content

Commit

Permalink
fix(RTC): reduce debug log noise
Browse files Browse the repository at this point in the history
There is a lot of additional noise when log level is set to debug, the SDP descriptions should be set to trace (As it seems it was originally intended, based on the name of the variable)
  • Loading branch information
DanielMcAssey authored and saghul committed Dec 15, 2023
1 parent df01523 commit 610eab4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/RTC/TraceablePeerConnection.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ export default function TraceablePeerConnection(

// override as desired
this.trace = (what, info) => {
logger.debug(what, info);
logger.trace(what, info);

this.updateLog.push({
time: new Date(),
Expand Down Expand Up @@ -1596,8 +1596,8 @@ const getters = {
} else if (!this._usesUnifiedPlan) {
if (browser.doesVideoMuteByStreamRemove()) {
desc = this.localSdpMunger.maybeAddMutedLocalVideoTracksToSDP(desc);
logger.debug(
'getLocalDescription::postTransform (munge local SDP)', desc);
this.trace('getLocalDescription::postTransform (munge local SDP)',
dumpSDP(desc));
}

// What comes out of this getter will be signalled over Jingle to
Expand Down

0 comments on commit 610eab4

Please sign in to comment.