Make gDebugLog obey the normal NSPR_LOG_MODULES rules, no bug, mailinglist-r=bsmedberg
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 03 Jan 2013 13:30:59 -0500
changeset 126564 8755061452d9cc6f6b944e8ad07596be6c5669cf
parent 126563 e57fcdedf527326390eb1692930cf2db60ca4061
child 126565 b37bb6f0054cdad24026220c1edf2de8c564d3b0
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Make gDebugLog obey the normal NSPR_LOG_MODULES rules, no bug, mailinglist-r=bsmedberg
xpcom/base/nsDebugImpl.cpp
--- a/xpcom/base/nsDebugImpl.cpp
+++ b/xpcom/base/nsDebugImpl.cpp
@@ -190,17 +190,16 @@ nsDebugImpl::SetMultiprocessMode(const c
  * compiled with debugging even if this library is not.
  */
 static PRLogModuleInfo* gDebugLog;
 
 static void InitLog(void)
 {
   if (0 == gDebugLog) {
     gDebugLog = PR_NewLogModule("nsDebug");
-    gDebugLog->level = PR_LOG_DEBUG;
   }
 }
 
 enum nsAssertBehavior {
   NS_ASSERT_UNINITIALIZED,
   NS_ASSERT_WARN,
   NS_ASSERT_SUSPEND,
   NS_ASSERT_STACK,