From: cantor Date: Wed, 24 Oct 2007 21:16:57 +0000 (+0000) Subject: Log library versions. X-Git-Tag: 2.4.1~295 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fopensaml2.git;a=commitdiff_plain;h=6a9bf824cf4bdef8e2a95d8bfb41a31172a713da Log library versions. git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/trunk@325 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0 --- diff --git a/saml/SAMLConfig.cpp b/saml/SAMLConfig.cpp index 6328b84..78f7e0f 100644 --- a/saml/SAMLConfig.cpp +++ b/saml/SAMLConfig.cpp @@ -116,10 +116,8 @@ bool SAMLInternalConfig::init(bool initXMLTooling) Category& log=Category::getInstance(SAML_LOGCAT".SAMLConfig"); log.debug("library initialization started"); - if (initXMLTooling) { + if (initXMLTooling) XMLToolingConfig::getConfig().init(); - log.debug("XMLTooling library initialized"); - } REGISTER_XMLTOOLING_EXCEPTION_FACTORY(ArtifactException,opensaml); REGISTER_XMLTOOLING_EXCEPTION_FACTORY(SecurityPolicyException,opensaml); @@ -142,7 +140,7 @@ bool SAMLInternalConfig::init(bool initXMLTooling) registerMessageDecoders(); registerSecurityPolicyRules(); - log.info("library initialization complete"); + log.info("%s library initialization complete", PACKAGE_STRING); return true; } @@ -163,11 +161,10 @@ void SAMLInternalConfig::term(bool termXMLTooling) delete m_artifactMap; m_artifactMap = NULL; - if (termXMLTooling) { + if (termXMLTooling) XMLToolingConfig::getConfig().term(); - log.debug("XMLTooling library shut down"); - } - log.info("library shutdown complete"); + + log.info("%s library shutdown complete", PACKAGE_STRING); } void SAMLInternalConfig::generateRandomBytes(void* buf, unsigned int len)