From 5ef034af93b5bea720a9d71ed36cdcfecee715a0 Mon Sep 17 00:00:00 2001 From: Taylor Brandstetter Date: Wed, 25 May 2016 17:20:35 -0700 Subject: [PATCH] Changing STUN request log message to "verbose". TBR=pthatcher@webrtc.org NOTRY=True Review URL: https://codereview.webrtc.org/2015773002 . Cr-Commit-Position: refs/heads/master@{#12901} --- webrtc/p2p/base/stunrequest.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/webrtc/p2p/base/stunrequest.cc b/webrtc/p2p/base/stunrequest.cc index 2a4f9c981c..32449e209c 100644 --- a/webrtc/p2p/base/stunrequest.cc +++ b/webrtc/p2p/base/stunrequest.cc @@ -221,14 +221,15 @@ void StunRequest::OnMessage(rtc::Message* pmsg) { OnSent(); manager_->thread_->PostDelayed(resend_delay(), this, MSG_STUN_SEND, NULL); - LOG(LS_INFO) << "Sent STUN request " << count_ - << "; resend delay = " << resend_delay(); } void StunRequest::OnSent() { count_ += 1; - if (count_ == MAX_SENDS) + if (count_ == MAX_SENDS) { timeout_ = true; + } + LOG(LS_VERBOSE) << "Sent STUN request " << count_ + << "; resend delay = " << resend_delay(); } int StunRequest::resend_delay() {