diff --git a/Control/StoreGate/StoreGate/MetaHandleKey.icc b/Control/StoreGate/StoreGate/MetaHandleKey.icc index 21d85907e7439091020f6fece80967e31da7b2ff..1bfa1f608995964a729539da78bf99f9502b3c90 100644 --- a/Control/StoreGate/StoreGate/MetaHandleKey.icc +++ b/Control/StoreGate/StoreGate/MetaHandleKey.icc @@ -40,14 +40,18 @@ namespace SG { // If container does not exist, then create it in the store // otherwise cache pointer to container if (m_store->contains< MetaCont<T> > (SG::VarHandleKey::key())) { + MsgStream msg(Athena::getMessageSvc(), "MetaHandleKey"); if (m_store->retrieve(m_cont, SG::VarHandleKey::key()).isFailure()) { - MsgStream msg(Athena::getMessageSvc(), "MetaHandleKey"); msg << MSG::ERROR << "MetaHandleKey::init(): unable to retrieve MetaCont of " << Gaudi::DataHandle::fullKey() << " from MetaDataStore" << endmsg; return StatusCode::FAILURE; } + else { + msg << MSG::INFO << "MetaCont found with key= " + << SG::VarHandleKey::key() << endmsg; + } } else { m_cont = new MetaCont<T>(SG::VarHandleKey::key()); if (m_store->record(m_cont, SG::VarHandleKey::key()).isFailure()) {