From 03fc54cd4400fd8d4a81e9148e88050d2af6510c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sat, 23 Jan 2010 22:30:21 +0000 Subject: [PATCH] Log HTTP requests similar to SQL queries and other stuff --- includes/HttpFunctions.php | 1 + 1 file changed, 1 insertion(+) 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'; -- 2.20.1