From: Scott Cantor Date: Thu, 16 Sep 2010 15:17:24 +0000 (+0000) Subject: Add log4shib version to init string. X-Git-Tag: 2.4RC1~43 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-sp.git;a=commitdiff_plain;h=fc143e0b488ff261e79dc572536a8cfb4efd1392 Add log4shib version to init string. --- diff --git a/shibsp/SPConfig.cpp b/shibsp/SPConfig.cpp index 066bee1..de35b4d 100644 --- a/shibsp/SPConfig.cpp +++ b/shibsp/SPConfig.cpp @@ -191,7 +191,12 @@ bool SPConfig::init(const char* catalog_path, const char* inst_prefix) " OpenSAML/" + OPENSAML_FULLVERSIONDOT + " XMLTooling/" + XMLTOOLING_FULLVERSIONDOT + " XML-Security-C/" + XSEC_FULLVERSIONDOT + - " Xerces-C/" + XERCES_FULLVERSIONDOT; + " Xerces-C/" + XERCES_FULLVERSIONDOT + +#if defined(LOG4SHIB_VERSION) + " log4shib/" + LOG4SHIB_VERSION; +#elif defined(LOG4CPP_VERSION) + " log4cpp/" + LOG4CPP_VERSION; +#endif if (!SAMLConfig::getConfig().init()) { log.fatal("failed to initialize OpenSAML library"); return false;