mirror of
https://github.com/friendica/friendica
synced 2024-12-23 04:40:15 +00:00
fetch_url: Logging the data only when at the "data" loglevel
This commit is contained in:
parent
16803645ef
commit
07bc8ca166
1 changed files with 1 additions and 2 deletions
|
@ -72,8 +72,7 @@ function fetch_url($url,$binary = false, &$redirects = 0, $timeout = 0, $accept_
|
|||
$base = $s;
|
||||
$curl_info = @curl_getinfo($ch);
|
||||
$http_code = $curl_info['http_code'];
|
||||
logger('fetch_url '.$url.': '.$http_code." *".$s."*", LOGGER_DEBUG);
|
||||
//logger('fetch_url:' . $http_code . ' data: ' . $s);
|
||||
logger('fetch_url '.$url.': '.$http_code." ".$s, LOGGER_DATA);
|
||||
$header = '';
|
||||
|
||||
// Pull out multiple headers, e.g. proxy and continuation headers
|
||||
|
|
Loading…
Reference in a new issue