Added logging to shutdown
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Tue, 13 Apr 2004 18:59:52 +0000 (18:59 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Tue, 13 Apr 2004 18:59:52 +0000 (18:59 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@982 cb58f699-b61c-0410-a6fe-9272a202ed29

shib-target/shib-config.cpp

index 0d0ffab..02f2a80 100644 (file)
@@ -171,7 +171,11 @@ bool STConfig::init(const char* schemadir, const char* config)
 
 void STConfig::shutdown()
 {
+    saml::NDC ndc("shutdown");
+    Category& log = Category::getInstance("shibtarget.STConfig");
+    log.info("shutting down the library");
     delete m_ini;
     ShibConfig::getConfig().term();
     SAMLConfig::getConfig().term();
+    log.info("library shutdown complete");
 }