mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 951314 - Only set WebRTC debug variables if not present. r=ted
This commit is contained in:
parent
7bd44eecd2
commit
370726bf59
@ -511,15 +511,11 @@ class Automation(object):
|
||||
env['XRE_NO_WINDOWS_CRASH_DIALOG'] = '1'
|
||||
env['NS_TRACE_MALLOC_DISABLE_STACKS'] = '1'
|
||||
|
||||
# Additional temporary logging while we try to debug some intermittent
|
||||
# WebRTC conditions. This is necessary to troubleshoot bugs 841496,
|
||||
# 841150, and 839677 (at least)
|
||||
# Also (temporary) bug 870002 (mediastreamgraph)
|
||||
if 'NSPR_LOG_MODULES' not in env:
|
||||
env['NSPR_LOG_MODULES'] = 'signaling:5,mtransport:3'
|
||||
env['R_LOG_LEVEL'] = '5'
|
||||
env['R_LOG_DESTINATION'] = 'stderr'
|
||||
env['R_LOG_VERBOSE'] = '1'
|
||||
# Set WebRTC logging in case it is not set yet
|
||||
env.setdefault('NSPR_LOG_MODULES', 'signaling:5,mtransport:3')
|
||||
env.setdefault('R_LOG_LEVEL', '5')
|
||||
env.setdefault('R_LOG_DESTINATION', 'stderr')
|
||||
env.setdefault('R_LOG_VERBOSE', '1')
|
||||
|
||||
# ASan specific environment stuff
|
||||
if self.IS_ASAN and (self.IS_LINUX or self.IS_MAC):
|
||||
|
@ -448,14 +448,11 @@ def environment(xrePath, env=None, crashreporter=True, debugger=False, dmdPath=N
|
||||
else:
|
||||
env['MOZ_CRASHREPORTER_DISABLE'] = '1'
|
||||
|
||||
# Additional temporary logging while we try to debug some intermittent
|
||||
# WebRTC conditions. This is necessary to troubleshoot bugs 841496,
|
||||
# 841150, and 839677 (at least)
|
||||
# Also (temporary) bug 870002 (mediastreamgraph)
|
||||
# Set WebRTC logging in case it is not set yet
|
||||
env.setdefault('NSPR_LOG_MODULES', 'signaling:5,mtransport:3')
|
||||
env['R_LOG_LEVEL'] = '5'
|
||||
env['R_LOG_DESTINATION'] = 'stderr'
|
||||
env['R_LOG_VERBOSE'] = '1'
|
||||
env.setdefault('R_LOG_LEVEL', '5')
|
||||
env.setdefault('R_LOG_DESTINATION', 'stderr')
|
||||
env.setdefault('R_LOG_VERBOSE', '1')
|
||||
|
||||
# ASan specific environment stuff
|
||||
asan = bool(mozinfo.info.get("asan"))
|
||||
|
Loading…
Reference in New Issue
Block a user