Skip to content

Commit

Permalink
fix browser logging
Browse files Browse the repository at this point in the history
  • Loading branch information
vpalmisano committed Jan 17, 2025
1 parent ef8d330 commit b8aab9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ export class Session extends EventEmitter {
if (this.enableBrowserLogging && this.pageLogPath) {
const eventLogPath = path.resolve(path.dirname(this.pageLogPath), `event-logging-${this.id}`)
fs.mkdirSync(eventLogPath, { recursive: true })
args.push('--enable-logging', '--vmodule=*/webrtc/*=1', `--webrtc-event-logging=${eventLogPath}`)
args.push('--enable-logging=stderr', '--vmodule=*/webrtc/*=0', '--v=0', `--webrtc-event-logging=${eventLogPath}`)
fieldTrials = 'WebRTC-RtcEventLogNewFormat/Disabled/' + fieldTrials
}

Expand Down

0 comments on commit b8aab9f

Please sign in to comment.