Switched to fixed context log.
authorScott Cantor <cantor.2@osu.edu>
Thu, 20 Oct 2005 03:45:32 +0000 (03:45 +0000)
committerScott Cantor <cantor.2@osu.edu>
Thu, 20 Oct 2005 03:45:32 +0000 (03:45 +0000)
adfs/listener.cpp

index a3a0163..db0ca7f 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "internal.h"
 
+#include <log4cpp/FixedContextCategory.hh>
 #include <xercesc/framework/MemBufInputSource.hpp>
 
 using namespace std;
@@ -412,7 +413,8 @@ void ADFSListener::sessionNew(
     log->debug("new session id: %s", cookie.c_str());
   
     // Transaction Logging
-    Category::getInstance(SHIBTRAN_LOGCAT).infoStream() <<
+    FixedContextCategory tranLog(SHIBTRAN_LOGCAT);
+    tranLog.infoStream() <<
         "New session (ID: " <<
             cookie <<
         ") with (applicationId: " <<