Do not log on stderr on Android tests.

On Pixel 2, this causes an increase in flakiness. This needs to be
reenabled once the root cause is fixed.

Bug: chromium:1384172, b/259113795
Change-Id: Ie94d3e2daad3a2de5af673c763362ea1b42fde7d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/283522
Reviewed-by: Jeremy Leconte <jleconte@google.com>
Owners-Override: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38623}
This commit is contained in:
Mirko Bonadei 2022-11-15 10:19:08 +00:00 committed by WebRTC LUCI CQ
parent d2a48e8226
commit c48a265346

View File

@ -76,7 +76,13 @@ ABSL_FLAG(bool,
false,
"Tells to initialize new API for exporting performance metrics");
// TODO(crbug.com/1384172): Re-enable logs by default once the issue with
// logcat is solved.
#if defined(WEBRTC_ANDROID)
ABSL_FLAG(bool, logs, false, "print logs to stderr");
#else
ABSL_FLAG(bool, logs, true, "print logs to stderr");
#endif
ABSL_FLAG(bool, verbose, false, "verbose logs to stderr");
ABSL_FLAG(std::string,