Commit 93f92b3b authored by Philip Rogers's avatar Philip Rogers Committed by Commit Bot

Turn off tickcount from default app shell LOG setting

The app shell (content shell) sets the default LOG setting to
have tick counts. This means a LOG(INFO) looks like:
[42745:775:1031/103842.350408:395648516798307:INFO:LocalFrameView.cpp(3456)] test

This patch updates the default setting to not have the tick
count so LOG is less verbose. I think this will promote more LOG usage
and happier developers. A LOG(INFO) now looks like:
[42846:775:1031/104021.499705:INFO:LocalFrameView.cpp(3456)] test

Change-Id: I37b27730114519e8f08f59bf076eb3b090bcb12e
Reviewed-on: https://chromium-review.googlesource.com/747363Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#513023}
parent 281a2ea6
......@@ -120,7 +120,8 @@ void InitLogging(const base::CommandLine& command_line) {
settings.log_file = log_filename.value().c_str();
settings.delete_old = logging::DELETE_OLD_LOG_FILE;
logging::InitLogging(settings);
logging::SetLogItems(true, true, true, true);
logging::SetLogItems(true /* Process ID */, true /* Thread ID */,
true /* Timestamp */, false /* Tick count */);
}
} // namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment