Commit 48a67647 authored by Matt Menke's avatar Matt Menke Committed by Commit Bot

Revert "[chromecast] Add process/thread id to the logs."

This reverts commit f4b86b70.

Reason for revert: This broke the build and the CQ.

https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket.appspot.com/8884198304462181456/+/steps/generate_build_files/0/stdout

Original change's description:
> [chromecast] Add process/thread id to the logs.
> 
> Also remove the timestamp since logd adds the timestamp. This
> makes the logs similar to cast.
> 
> Bug: internal b/152558058
> Change-Id: Ifda50ed1115e2192aaa7887440aba7a02341ef09
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2123507
> Reviewed-by: Kenneth MacKay <kmackay@chromium.org>
> Commit-Queue: Mohit Hotwani <hmohit@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#755445}

TBR=halliwell@chromium.org,jlevasseur@google.com,kmackay@chromium.org,kmackay@google.com,hmohit@chromium.org

Change-Id: I537c73a4453f1d31e54c75ab2f8a23757b6be2a9
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: internal b/152558058
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2132831Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
Commit-Queue: Matt Menke <mmenke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#755498}
parent c5113889
......@@ -13,7 +13,6 @@
#include "base/feature_list.h"
#include "base/logging.h"
#include "build/build_config.h"
#include "chromecast/chromecast_buildflags.h"
#if !defined(OS_ANDROID) && !defined(OS_FUCHSIA)
#include "chromecast/external_mojo/external_service_support/crash_reporter_client.h"
......@@ -37,13 +36,6 @@ void CommonProcessInitialization(int argc, char** argv) {
logging::LOG_TO_SYSTEM_DEBUG_LOG | logging::LOG_TO_STDERR;
logging::InitLogging(settings);
#if BUILDFLAG(IS_CAST_DESKTOP_BUILD)
logging::SetLogItems(true, true, true, false);
#else
// Timestamp available through logcat -v time.
logging::SetLogItems(true, true, false, false);
#endif // BUILDFLAG(IS_CAST_DESKTOP_BUILD)
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
base::FeatureList::InitializeInstance(
command_line->GetSwitchValueASCII(switches::kEnableFeatures),
......
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