From 9c8ae4b9a13cc87429d94181e7dd945dc9ae388b Mon Sep 17 00:00:00 2001 From: Jamie Walch Date: Wed, 24 Oct 2018 10:17:52 -0700 Subject: [PATCH] Disable probe delay warning in release builds. This log is triggering many times a second for Chrome Remote Desktop on some browsers. This CL just turns it off for release builds to avoid log files filling up users' disks until we figure out what's going on. Bug: chromium:888038 Change-Id: Ibbe9d47295b3633314feb28e155e3f59b878dbdb Reviewed-on: https://webrtc-review.googlesource.com/c/107688 Commit-Queue: Jamie Walch Reviewed-by: Philip Eliasson Cr-Commit-Position: refs/heads/master@{#25372} --- modules/pacing/bitrate_prober.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/pacing/bitrate_prober.cc b/modules/pacing/bitrate_prober.cc index f388c6e899..f3795645fa 100644 --- a/modules/pacing/bitrate_prober.cc +++ b/modules/pacing/bitrate_prober.cc @@ -126,9 +126,9 @@ int BitrateProber::TimeUntilNextProbe(int64_t now_ms) { if (next_probe_time_ms_ >= 0) { time_until_probe_ms = next_probe_time_ms_ - now_ms; if (time_until_probe_ms < -kMaxProbeDelayMs) { - RTC_LOG(LS_WARNING) << "Probe delay too high" - << " (next_ms:" << next_probe_time_ms_ - << ", now_ms: " << now_ms << ")"; + RTC_DLOG(LS_WARNING) << "Probe delay too high" + << " (next_ms:" << next_probe_time_ms_ + << ", now_ms: " << now_ms << ")"; return -1; } }