[asterisk-scf-commits] asterisk-scf/release/ice-util-cpp.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Mon Sep 12 15:33:49 CDT 2011


branch "master" has been updated
       via  b07fa38a549385d8721eb51ff23ff1d2bc33f1fb (commit)
      from  16212c6a5a5c648cc7a3d4a001b1fabee8303e10 (commit)

Summary of changes:
 src/Component/Component.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


- Log -----------------------------------------------------------------
commit b07fa38a549385d8721eb51ff23ff1d2bc33f1fb
Author: Ken Hunt <ken.hunt at digium.com>
Date:   Fri Sep 2 18:34:42 2011 -0500

    Set additional logger information specific to the component.

diff --git a/src/Component/Component.cpp b/src/Component/Component.cpp
index afef647..c584c57 100644
--- a/src/Component/Component.cpp
+++ b/src/Component/Component.cpp
@@ -689,6 +689,7 @@ void Component::configureLogger()
     try
     {
         ConfiguredIceLoggerPtr mIceLogger = createIceLogger(mBackplaneAdapter);
+        mIceLogger->getLogger().setComponentInfo(mComponentDiscoveryCategory, mServiceName, mName);
         getLoggerFactory().setLogOutput(mIceLogger->getLogger());
     }
     catch(const std::exception& e)

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


-- 
asterisk-scf/release/ice-util-cpp.git



More information about the asterisk-scf-commits mailing list