[Opensrf-commits] r1475 - trunk/src/gateway

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Oct 24 12:36:18 EDT 2008


Author: erickson
Date: 2008-10-24 12:36:06 -0400 (Fri, 24 Oct 2008)
New Revision: 1475

Modified:
   trunk/src/gateway/osrf_http_translator.c
Log:
disable the new internal logging of sent data by default.

Modified: trunk/src/gateway/osrf_http_translator.c
===================================================================
--- trunk/src/gateway/osrf_http_translator.c	2008-10-24 16:31:07 UTC (rev 1474)
+++ trunk/src/gateway/osrf_http_translator.c	2008-10-24 16:36:06 UTC (rev 1475)
@@ -318,13 +318,13 @@
 static void osrfHttpTranslatorWriteChunk(osrfHttpTranslator* trans, transport_message* msg) {
     ap_rprintf(trans->apreq, 
         "Content-type: %s\n\n%s\n\n", JSON_CONTENT_TYPE, msg->body);
-    osrfLogInternal(OSRF_LOG_MARK, "Apache sending data: Content-type: %s\n\n%s\n\n", JSON_CONTENT_TYPE, msg->body);
+    //osrfLogInternal(OSRF_LOG_MARK, "Apache sending data: Content-type: %s\n\n%s\n\n", JSON_CONTENT_TYPE, msg->body);
     if(trans->complete) {
         ap_rprintf(trans->apreq, "--%s--\n", trans->delim);
-        osrfLogInternal(OSRF_LOG_MARK, "Apache sending data: --%s--\n", trans->delim);
+        //osrfLogInternal(OSRF_LOG_MARK, "Apache sending data: --%s--\n", trans->delim);
     } else {
         ap_rprintf(trans->apreq, "--%s\n", trans->delim);
-        osrfLogInternal(OSRF_LOG_MARK, "Apache sending data: --%s\n", trans->delim);
+        //osrfLogInternal(OSRF_LOG_MARK, "Apache sending data: --%s\n", trans->delim);
     }
     ap_rflush(trans->apreq);
 }



More information about the opensrf-commits mailing list