From: cantor Date: Wed, 24 Oct 2007 21:16:58 +0000 (+0000) Subject: Log library versions. X-Git-Tag: 2.4~688 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=76f9128f422bc6c9fc1548736b5ddf6805108250;hp=67a6b2efaa165ff055b2a21c528f982d51f011dc;p=shibboleth%2Fsp.git Log library versions. git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@2573 cb58f699-b61c-0410-a6fe-9272a202ed29 --- diff --git a/shibsp/SPConfig.cpp b/shibsp/SPConfig.cpp index 8116b91..161c0c2 100644 --- a/shibsp/SPConfig.cpp +++ b/shibsp/SPConfig.cpp @@ -108,7 +108,7 @@ bool SPInternalConfig::init(const char* catalog_path) NDC ndc("init"); #endif Category& log=Category::getInstance(SHIBSP_LOGCAT".Config"); - log.debug("library initialization started"); + log.debug("%s library initialization started", PACKAGE_STRING); const char* loglevel=getenv("SHIBSP_LOGGING"); if (!loglevel) @@ -190,7 +190,7 @@ bool SPInternalConfig::init(const char* catalog_path) m_artifactResolver = new ArtifactResolver(); #endif - log.info("library initialization complete"); + log.info("%s library initialization complete", PACKAGE_STRING); return true; } @@ -200,7 +200,7 @@ void SPInternalConfig::term() NDC ndc("term"); #endif Category& log=Category::getInstance(SHIBSP_LOGCAT".Config"); - log.info("shutting down the library"); + log.info("%s library shutting down", PACKAGE_STRING); setServiceProvider(NULL); #ifndef SHIBSP_LITE @@ -243,5 +243,5 @@ void SPInternalConfig::term() #else XMLToolingConfig::getConfig().term(); #endif - log.info("library shutdown complete"); + log.info("%s library shutdown complete", PACKAGE_STRING); }