[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 May 14 18:04:13 CDT 2012
branch "master" has been updated
via 6255e723a6e4315707f362bb8589b29b8896635e (commit)
from 009bfb4fb947845756d7eed4492fe1aa3eb8db65 (commit)
Summary of changes:
src/Component/Component.cpp | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 6255e723a6e4315707f362bb8589b29b8896635e
Author: Ken Hunt <ken.hunt at digium.com>
Date: Mon May 14 18:04:16 2012 -0500
Some additional startup logging.
diff --git a/src/Component/Component.cpp b/src/Component/Component.cpp
index 1fa087e..4158540 100644
--- a/src/Component/Component.cpp
+++ b/src/Component/Component.cpp
@@ -912,6 +912,18 @@ void Component::initialize()
// Notify subclasses.
onPostInitialize();
+
+ if (mReplicationContext->getState() == ACTIVE_STANDALONE)
+ {
+ mLogger(Info) << mName << " is active in standalone mode. ";
+ }
+ else
+ {
+ mLogger(Info) << mName << " is in standby mode. It can be activated via it's Replica interface located by:";
+ mLogger(Info) << " Category: " << mComponentDiscoveryCategory << ".Replica";
+ mLogger(Info) << " Service: " << mServiceName;
+ mLogger(Info) << " Instance: " << mName;
+ }
}
catch(const ::Ice::Exception &e)
{
-----------------------------------------------------------------------
--
asterisk-scf/release/ice-util-cpp.git
More information about the asterisk-scf-commits
mailing list