Add log4shib version to init string.
authorScott Cantor <cantor.2@osu.edu>
Thu, 16 Sep 2010 15:17:24 +0000 (15:17 +0000)
committerScott Cantor <cantor.2@osu.edu>
Thu, 16 Sep 2010 15:17:24 +0000 (15:17 +0000)
shibsp/SPConfig.cpp

index 066bee1..de35b4d 100644 (file)
@@ -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;