https://issues.shibboleth.net/jira/browse/SSPCPP-130
[shibboleth/cpp-sp.git] / fastcgi / shibresponder.cpp
index fc29234..5df6dcd 100644 (file)
@@ -342,9 +342,7 @@ int main(void)
 \r
             pair<bool,long> res = stf.getServiceProvider().doHandler(stf);\r
             if (res.first) {\r
-#ifdef _DEBUG\r
-                cerr << "shib: doHandler handled the request" << endl;\r
-#endif\r
+                stf.log(SPRequest::SPDebug, "shib: doHandler handled the request");\r
                 switch(res.second) {\r
                     case SHIB_RETURN_OK:\r
                         print_ok();\r