]> khamidou — GitHub mirrors - electron.git/commitdiff
Print pid when logging.
authorCheng Zhao <zcbenz@gmail.com>
Mon, 23 Dec 2013 14:04:49 +0000 (22:04 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 23 Dec 2013 14:04:49 +0000 (22:04 +0800)
app/atom_main_delegate.cc

index 705d91c14a3461985b3680655c10a1235aa0e8ea..40a42d721741f327bb9d63e70e26835d236fdc2e 100644 (file)
@@ -35,10 +35,11 @@ bool AtomMainDelegate::BasicStartupComplete(int* exit_code) {
   settings.dcheck_state =
       logging::DISABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS;
   logging::InitLogging(settings);
-  // Logging with pid, tid and timestamp.
-  logging::SetLogItems(true, true, true, false);
 #endif  // defined(OS_WIN)
 
+  // Logging with pid and timestamp.
+  logging::SetLogItems(true, false, true, false);
+
   return brightray::MainDelegate::BasicStartupComplete(exit_code);
 }