From 51f5a60cca25f1dbf2e7c3c390c2688ede9f935d Mon Sep 17 00:00:00 2001 From: "gauravsh@chromium.org" Date: Sat, 1 Sep 2012 06:07:55 +0000 Subject: Enable timestamps and disable tick counts in logs Currently, logs include tick counts. Tick counts do not increment when the system is suspended or switched off. This makes the logs less useful on platforms like Chrome OS where it is harder (and sometimes impossible) to correlate them with logs from other system services. BUG=chromium:132366 TEST=visually inspect logs Review URL: https://chromiumcodereview.appspot.com/10855114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154603 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/logging_chrome.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/common/logging_chrome.cc') diff --git a/chrome/common/logging_chrome.cc b/chrome/common/logging_chrome.cc index 5ad8482..5959c1c 100644 --- a/chrome/common/logging_chrome.cc +++ b/chrome/common/logging_chrome.cc @@ -327,8 +327,8 @@ void InitChromeLogging(const CommandLine& command_line, // we want process and thread IDs because we have a lot of things running logging::SetLogItems(true, // enable_process_id true, // enable_thread_id - false, // enable_timestamp - true); // enable_tickcount + true, // enable_timestamp + false); // enable_tickcount // We call running in unattended mode "headless", and allow // headless mode to be configured either by the Environment -- cgit v1.1