r75562 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75561‎ | r75562 | r75563 >
Date:17:55, 27 October 2010
Author:awjrichards
Status:deferred
Tags:
Comment:
Added logging for request header sent by curl
Modified paths:
  • /civicrm/trunk/sites/all/modules/wmf_owa/wmf_owa.module (modified) (history)

Diff [purge]

Index: civicrm/trunk/sites/all/modules/wmf_owa/wmf_owa.module
@@ -199,6 +199,10 @@
200200 curl_setopt( $ch, CURLOPT_URL, $owa_log_url . "?". http_build_query( $query_params ));
201201 curl_setopt( $ch, CURLOPT_USERAGENT, "WMF Ecommerce web service 1.0" );
202202
 203+ watchdog( 'wmf_owa', 'Request string sent to OWA: %header_out',
 204+ array( '%header_out' => curl_getinfo( $ch, CURLINFO_HEADER_OUT ) ),
 205+ WATCHDOG_DEBUG );
 206+
203207 if ( !curl_exec( $ch )) {
204208 // log curl error curl_error( $ch );
205209 watchdog( 'wmf_owa',

Status & tagging log