From c7e7e079a4ee17ad012f36d40c4bcca0ed47cc7e Mon Sep 17 00:00:00 2001 From: palmkvist Date: Mon, 9 Jan 2017 07:23:33 -0800 Subject: [PATCH] Lower bad call logging severity BUG=webrtc:6814 Review-Url: https://codereview.webrtc.org/2584723003 Cr-Commit-Position: refs/heads/master@{#15964} --- webrtc/video/receive_statistics_proxy.cc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/webrtc/video/receive_statistics_proxy.cc b/webrtc/video/receive_statistics_proxy.cc index 541a183aca..3f23c0047a 100644 --- a/webrtc/video/receive_statistics_proxy.cc +++ b/webrtc/video/receive_statistics_proxy.cc @@ -232,33 +232,33 @@ void ReceiveStatisticsProxy::QualitySample() { bool any_bad = fps_bad || qp_bad || variance_bad; if (!prev_any_bad && any_bad) { - LOG(LS_WARNING) << "Bad call (any) start: " << now; + LOG(LS_INFO) << "Bad call (any) start: " << now; } else if (prev_any_bad && !any_bad) { - LOG(LS_WARNING) << "Bad call (any) end: " << now; + LOG(LS_INFO) << "Bad call (any) end: " << now; } if (!prev_fps_bad && fps_bad) { - LOG(LS_WARNING) << "Bad call (fps) start: " << now; + LOG(LS_INFO) << "Bad call (fps) start: " << now; } else if (prev_fps_bad && !fps_bad) { - LOG(LS_WARNING) << "Bad call (fps) end: " << now; + LOG(LS_INFO) << "Bad call (fps) end: " << now; } if (!prev_qp_bad && qp_bad) { - LOG(LS_WARNING) << "Bad call (qp) start: " << now; + LOG(LS_INFO) << "Bad call (qp) start: " << now; } else if (prev_qp_bad && !qp_bad) { - LOG(LS_WARNING) << "Bad call (qp) end: " << now; + LOG(LS_INFO) << "Bad call (qp) end: " << now; } if (!prev_variance_bad && variance_bad) { - LOG(LS_WARNING) << "Bad call (variance) start: " << now; + LOG(LS_INFO) << "Bad call (variance) start: " << now; } else if (prev_variance_bad && !variance_bad) { - LOG(LS_WARNING) << "Bad call (variance) end: " << now; + LOG(LS_INFO) << "Bad call (variance) end: " << now; } - LOG(LS_INFO) << "SAMPLE: sample_length: " << (now - last_sample_time_) - << " fps: " << fps << " fps_bad: " << fps_bad << " qp: " << qp - << " qp_bad: " << qp_bad << " variance_bad: " << variance_bad - << " fps_variance: " << fps_variance; + LOG(LS_VERBOSE) << "SAMPLE: sample_length: " << (now - last_sample_time_) + << " fps: " << fps << " fps_bad: " << fps_bad << " qp: " << qp + << " qp_bad: " << qp_bad << " variance_bad: " << variance_bad + << " fps_variance: " << fps_variance; last_sample_time_ = now; qp_sample_.Reset();