projects
/
shibboleth
/
cpp-opensaml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4eec830
)
Log library versions.
author
Scott Cantor
<cantor.2@osu.edu>
Wed, 24 Oct 2007 21:16:57 +0000
(21:16 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Wed, 24 Oct 2007 21:16:57 +0000
(21:16 +0000)
saml/SAMLConfig.cpp
patch
|
blob
|
history
diff --git
a/saml/SAMLConfig.cpp
b/saml/SAMLConfig.cpp
index
6328b84
..
78f7e0f
100644
(file)
--- 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");
Category& log=Category::getInstance(SAML_LOGCAT".SAMLConfig");
log.debug("library initialization started");
- if (initXMLTooling)
{
+ if (initXMLTooling)
XMLToolingConfig::getConfig().init();
XMLToolingConfig::getConfig().init();
- log.debug("XMLTooling library initialized");
- }
REGISTER_XMLTOOLING_EXCEPTION_FACTORY(ArtifactException,opensaml);
REGISTER_XMLTOOLING_EXCEPTION_FACTORY(SecurityPolicyException,opensaml);
REGISTER_XMLTOOLING_EXCEPTION_FACTORY(ArtifactException,opensaml);
REGISTER_XMLTOOLING_EXCEPTION_FACTORY(SecurityPolicyException,opensaml);
@@
-142,7
+140,7
@@
bool SAMLInternalConfig::init(bool initXMLTooling)
registerMessageDecoders();
registerSecurityPolicyRules();
registerMessageDecoders();
registerSecurityPolicyRules();
- log.info("
library initialization complete"
);
+ log.info("
%s library initialization complete", PACKAGE_STRING
);
return true;
}
return true;
}
@@
-163,11
+161,10
@@
void SAMLInternalConfig::term(bool termXMLTooling)
delete m_artifactMap;
m_artifactMap = NULL;
delete m_artifactMap;
m_artifactMap = NULL;
- if (termXMLTooling)
{
+ if (termXMLTooling)
XMLToolingConfig::getConfig().term();
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)
}
void SAMLInternalConfig::generateRandomBytes(void* buf, unsigned int len)