Removed some extraneous logging to cerr.
authorScott Cantor <cantor.2@osu.edu>
Thu, 5 Jan 2006 03:20:51 +0000 (03:20 +0000)
committerScott Cantor <cantor.2@osu.edu>
Thu, 5 Jan 2006 03:20:51 +0000 (03:20 +0000)
shib-target/shib-ini.cpp

index d3d19d1..4d302bf 100644 (file)
@@ -849,13 +849,12 @@ void XMLConfigImpl::init(bool first)
                 logger=ReloadableXMLFileImpl::m_root->getAttributeNS(NULL,SHIBT_L(logger));
             if (logger && *logger) {
                 auto_ptr_char logpath(logger);
-                cerr << "loading new logging configuration from " << logpath.get() << "\n";
+                log.debug("loading new logging configuration from (%s), check log destination for status of configuration",logpath.get());
                 try {
                     PropertyConfigurator::configure(logpath.get());
-                    cerr << "New logging configuration loaded, check log destination for process status..." << "\n";
                 }
                 catch (ConfigureFailure& e) {
-                    cerr << "Error reading logging configuration: " << e.what() << "\n";
+                    log.error("Error reading logging configuration: %s",e.what());
                 }
             }
         }