Bug 1149094. r=blassey, a=sledru
authorMark Finkle <mfinkle@mozilla.com>
Mon, 06 Apr 2015 14:42:52 -0400
changeset 258325 d2987ec0e0e7
parent 258324 8a734418a22e
child 258326 3f5d7f277471
push id4645
push userryanvm@gmail.com
push date2015-04-07 15:05 +0000
treeherdermozilla-beta@8f0271f2c153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersblassey, sledru
bugs1149094
milestone38.0
Bug 1149094. r=blassey, a=sledru
xpcom/base/nsConsoleService.cpp
--- a/xpcom/base/nsConsoleService.cpp
+++ b/xpcom/base/nsConsoleService.cpp
@@ -201,17 +201,17 @@ nsConsoleService::LogMessageWithMode(nsI
 
   /*
    * Lock while updating buffer, and while taking snapshot of
    * listeners array.
    */
   {
     MutexAutoLock lock(mLock);
 
-#if defined(ANDROID)
+#if defined(ANDROID) && !defined(RELEASE_BUILD)
     if (aOutputMode == OutputToLog) {
       nsCString msg;
       aMessage->ToString(msg);
 
       /** Attempt to use the process name as the log tag. */
       mozilla::dom::ContentChild* child =
           mozilla::dom::ContentChild::GetSingleton();
       nsCString appName;