[asterisk-scf-commits] asterisk-scf/integration/bridging.git branch "bridge-replication-issue" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Jan 12 21:09:29 CST 2012


branch "bridge-replication-issue" has been updated
       via  dfaf43f8efedabc9bd6c565a20e0b34e17d315fc (commit)
      from  9b791bfd2fc76f659980a697512cc6b6b9ea6661 (commit)

Summary of changes:
 src/BridgeReplicatorStateListenerI.cpp |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)


- Log -----------------------------------------------------------------
commit dfaf43f8efedabc9bd6c565a20e0b34e17d315fc
Author: Brent Eagles <beagles at digium.com>
Date:   Thu Jan 12 23:38:38 2012 -0330

    Remove some bogus cerrs and revert some logging to "Trace" log level.

diff --git a/src/BridgeReplicatorStateListenerI.cpp b/src/BridgeReplicatorStateListenerI.cpp
index 496f678..97ebf96 100644
--- a/src/BridgeReplicatorStateListenerI.cpp
+++ b/src/BridgeReplicatorStateListenerI.cpp
@@ -44,14 +44,14 @@ public:
     void removeBridgeItem(const string& bridgeKey, const string& item, const string& sliceType)
     {
         IceUtil::Mutex::Lock lock(mMutex);
-        mLogger(Debug) << " removing bridge item id " << item << " (" << sliceType << ") from bridge " << bridgeKey;
+        mLogger(Trace) << " removing bridge item id " << item << " (" << sliceType << ") from bridge " << bridgeKey;
         mBridgeItemMap[bridgeKey].erase(item);
         if (mBridgeItemMap[bridgeKey].empty())
         {
             map<string, ReplicatedStateItemPtr>::iterator entry = mItems.find(bridgeKey);
             if (entry == mItems.end())
             {
-                mLogger(Debug) << "no items left, and the bridge itself is no longer in item dictionary, it is safe to remove the bridge";
+                mLogger(Trace) << "no items left, and the bridge itself is no longer in item dictionary, it is safe to remove the bridge";
                 mManager->removeBridge(bridgeKey);
             }
         }
@@ -73,7 +73,7 @@ public:
             }
             if (item)
             {
-                mLogger(Debug) << " received removal of " << (*k) << ": a " << item->ice_id();
+                mLogger(Trace) << " received removal of " << (*k) << ": a " << item->ice_id();
 
                 BridgedSessionPtr bridgedSessionItem = BridgedSessionPtr::dynamicCast(item);
                 if (bridgedSessionItem)
@@ -244,7 +244,6 @@ public:
                 string unique = IceUtil::generateUUID();
                 for (vector<BridgeServantPtr>::iterator b = bridges.begin(); b != bridges.end(); ++b)
                 {
-                    cerr << unique << " checking bridge id " << (*b)->id() << endl;
                     if ((*b) && (*b)->id() == bridgedSessionItem->bridgeId)
                     {
                         SessionCollectionPtr sessions = (*b)->getSessions();

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/bridging.git



More information about the asterisk-scf-commits mailing list