From: Niklas Laxström Date: Sat, 23 Jan 2010 22:30:21 +0000 (+0000) Subject: Log HTTP requests similar to SQL queries and other stuff X-Git-Tag: 1.31.0-rc.0~38129 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=03fc54cd4400fd8d4a81e9148e88050d2af6510c;p=lhc%2Fweb%2Fwiklou.git Log HTTP requests similar to SQL queries and other stuff --- diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index 2de2675382..d575a884cc 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -18,6 +18,7 @@ class Http { * @returns mixed (bool)false on failure or a string on success */ public static function request( $method, $url, $options = array() ) { + wfDebug( "HTTP: $method: $url" ); $options['method'] = strtoupper( $method ); if ( !isset( $options['timeout'] ) ) { $options['timeout'] = 'default';