Fixed debug logging.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Mon, 5 Aug 2002 18:26:51 +0000 (18:26 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Mon, 5 Aug 2002 18:26:51 +0000 (18:26 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@39 cb58f699-b61c-0410-a6fe-9272a202ed29

mod_eduPerson/mod_eduPerson.cpp

index c208199..654ea13 100644 (file)
@@ -116,7 +116,7 @@ extern "C" void eduPerson_child_init(server_rec* s, pool* p)
                              shibboleth::Constants::SHIB_ATTRIBUTE_NAMESPACE_URI,
                              &EntitlementFactory);
 
-    std::fprintf(stderr,"eduPerson_child_init() done\n");
+    ap_log_error(APLOG_MARK,APLOG_DEBUG|APLOG_NOERRNO,s,"eduPerson_child_init() done");
 }
 
 
@@ -135,7 +135,7 @@ extern "C" void eduPerson_child_exit(server_rec* s, pool* p)
     SAMLAttribute::unregFactory(eduPerson::Constants::EDUPERSON_ENTITLEMENT,
                                shibboleth::Constants::SHIB_ATTRIBUTE_NAMESPACE_URI);
 
-    std::fprintf(stderr,"eduPerson_child_exit() done\n");
+    ap_log_error(APLOG_MARK,APLOG_DEBUG|APLOG_NOERRNO,s,"eduPerson_child_exit() done");
 }
 
 extern "C"{