summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorcpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-29 19:51:06 +0000
committercpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-29 19:51:06 +0000
commitbb5185c5f46fc6f37b4c89cdbaef77f967020855 (patch)
tree00ea61cf039fb6e3ce952096277e4eaf2b75d388 /chrome/browser
parent6956cd63fd86015d328a3dfb669a68f34c5e21fa (diff)
downloadchromium_src-bb5185c5f46fc6f37b4c89cdbaef77f967020855.zip
chromium_src-bb5185c5f46fc6f37b4c89cdbaef77f967020855.tar.gz
chromium_src-bb5185c5f46fc6f37b4c89cdbaef77f967020855.tar.bz2
Adds a logging level command line switch
- Adds --log-level=n with n=0,1,2,3 - Increases the default logging level from INFO to WARNING there is way too much noise there. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1547 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/plugin_process_host.cc1
-rw-r--r--chrome/browser/render_process_host.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/plugin_process_host.cc b/chrome/browser/plugin_process_host.cc
index 90e8db4..58bdc53 100644
--- a/chrome/browser/plugin_process_host.cc
+++ b/chrome/browser/plugin_process_host.cc
@@ -347,6 +347,7 @@ bool PluginProcessHost::Init(const std::wstring& dll,
switches::kFullMemoryCrashReport,
switches::kEnableLogging,
switches::kDisableLogging,
+ switches::kLoggingLevel,
switches::kUserDataDir,
switches::kAllowAllActiveX,
switches::kEnableDCHECK,
diff --git a/chrome/browser/render_process_host.cc b/chrome/browser/render_process_host.cc
index c18b4f3..c49e7fd 100644
--- a/chrome/browser/render_process_host.cc
+++ b/chrome/browser/render_process_host.cc
@@ -256,6 +256,7 @@ bool RenderProcessHost::Init() {
switches::kEnableLogging,
switches::kDumpHistogramsOnExit,
switches::kDisableLogging,
+ switches::kLoggingLevel,
switches::kDebugPrint,
switches::kAllowAllActiveX,
switches::kMemoryProfiling,