From 74b6b7623e8b9cfe6792d5955dc1858bb5321aa4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com>
Date: Mon, 27 Apr 2015 01:11:59 -0400
Subject: [PATCH] account: log cleanup

Refs #71531

Change-Id: I2fa1fb5792daf31cd76995c590e452b1d291494e
---
 src/account.cpp             | 4 ----
 src/ringdht/ringaccount.cpp | 1 -
 2 files changed, 5 deletions(-)

diff --git a/src/account.cpp b/src/account.cpp
index 6074424123..d64a6e4e86 100644
--- a/src/account.cpp
+++ b/src/account.cpp
@@ -177,8 +177,6 @@ Account::loadDefaultCodecs()
             // instantiate AccountAudioCodecInfo initialized with our system codec
             auto codec = std::make_shared <AccountAudioCodecInfo>(*audioCodec);
             accountCodecInfoList_.push_back(codec);
-            RING_DBG("[%s] loading audio codec = %s", accountID_.c_str(),
-                     codec->systemCodecInfo.name.c_str());
         }
 
         if (systemCodec->mediaType & MEDIA_VIDEO) {
@@ -187,8 +185,6 @@ Account::loadDefaultCodecs()
             // instantiate AccountVideoCodecInfo initialized with our system codec
             auto codec = std::make_shared<AccountVideoCodecInfo>(*videoCodec);
             accountCodecInfoList_.push_back(codec);
-            RING_DBG("[%s] loading video codec = %s", accountID_.c_str(),
-                     codec->systemCodecInfo.name.c_str());
         }
     }
 }
diff --git a/src/ringdht/ringaccount.cpp b/src/ringdht/ringaccount.cpp
index 2f0518facf..c2f8138138 100644
--- a/src/ringdht/ringaccount.cpp
+++ b/src/ringdht/ringaccount.cpp
@@ -1061,7 +1061,6 @@ RingAccount::matches(const std::string &userName, const std::string &server) con
         RING_DBG("Matching account id in request with username %s", userName.c_str());
         return MatchRank::FULL;
     } else {
-        RING_DBG("No match for account %s in request with username %s", dht_.getId().toString().c_str(), userName.c_str());
         return MatchRank::NONE;
     }
 }
-- 
GitLab