[cpp-opensaml] branch master updated: CPPOST-104 - Rationalize logging names for Metadata Providers
Scott Cantor
cantor.2 at osu.edu
Wed Mar 21 15:09:37 EDT 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-opensaml.git;a=commit;h=cde66928a348d9dd6a6672d1cef4b70da80b59fb
The following commit(s) were added to refs/heads/master by this push:
new cde6692 CPPOST-104 - Rationalize logging names for Metadata Providers
cde6692 is described below
commit cde66928a348d9dd6a6672d1cef4b70da80b59fb
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Mar 21 15:08:54 2018 -0400
CPPOST-104 - Rationalize logging names for Metadata Providers
https://issues.shibboleth.net/jira/browse/CPPOST-104
---
saml/saml2/metadata/impl/ChainingMetadataProvider.cpp | 2 +-
saml/saml2/metadata/impl/FolderMetadataProvider.cpp | 2 +-
saml/saml2/metadata/impl/MetadataProvider.cpp | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/saml/saml2/metadata/impl/ChainingMetadataProvider.cpp b/saml/saml2/metadata/impl/ChainingMetadataProvider.cpp
index 106ce28..18db31f 100644
--- a/saml/saml2/metadata/impl/ChainingMetadataProvider.cpp
+++ b/saml/saml2/metadata/impl/ChainingMetadataProvider.cpp
@@ -186,7 +186,7 @@ void ChainingMetadataProvider::tracker_cleanup(void* ptr)
ChainingMetadataProvider::ChainingMetadataProvider(const DOMElement* e)
: MetadataProvider(nullptr), ObservableMetadataProvider(e), m_firstMatch(true), m_trackerLock(Mutex::create()), m_tlsKey(ThreadKey::create(tracker_cleanup)),
- m_log(Category::getInstance(SAML_LOGCAT ".Metadata.Chaining"))
+ m_log(Category::getInstance(SAML_LOGCAT ".MetadataProvider.Chaining"))
{
if (XMLString::equals(e ? e->getAttributeNS(nullptr, precedence) : nullptr, last))
m_firstMatch = false;
diff --git a/saml/saml2/metadata/impl/FolderMetadataProvider.cpp b/saml/saml2/metadata/impl/FolderMetadataProvider.cpp
index 425b5ff..b6ca16c 100644
--- a/saml/saml2/metadata/impl/FolderMetadataProvider.cpp
+++ b/saml/saml2/metadata/impl/FolderMetadataProvider.cpp
@@ -87,7 +87,7 @@ namespace opensaml {
if (e->hasAttributeNS(nullptr, precedence))
root->setAttributeNS(nullptr, precedence, e->getAttributeNS(nullptr, precedence));
- Category& log = Category::getInstance(SAML_LOGCAT ".Metadata.Folder");
+ Category& log = Category::getInstance(SAML_LOGCAT ".MetadataProvider.Folder");
log.info("loading metadata files from folder (%s)", loc.c_str());
#ifdef WIN32
diff --git a/saml/saml2/metadata/impl/MetadataProvider.cpp b/saml/saml2/metadata/impl/MetadataProvider.cpp
index c381aad..114a5bb 100644
--- a/saml/saml2/metadata/impl/MetadataProvider.cpp
+++ b/saml/saml2/metadata/impl/MetadataProvider.cpp
@@ -99,7 +99,7 @@ MetadataProvider::MetadataProvider(const DOMElement* e) : m_filterContext(nullpt
#ifdef _DEBUG
NDC ndc("MetadataProvider");
#endif
- Category& log = Category::getInstance(SAML_LOGCAT ".Metadata");
+ Category& log = Category::getInstance(SAML_LOGCAT ".MetadataProvider");
SAMLConfig& conf = SAMLConfig::getConfig();
// Locate any default recognized filters and plugins.
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list