Merge pull request #3008 from annando/1612-probe-logging
Issue 2835: Some logging to detect possible problems with the probing
This commit is contained in:
commit
68bcb99d3a
1 changed files with 4 additions and 0 deletions
|
@ -569,6 +569,8 @@ class Probe {
|
|||
|
||||
$data = array();
|
||||
|
||||
logger("Check profile ".$profile, LOGGER_DEBUG);
|
||||
|
||||
// Fetch data via noscrape - this is faster
|
||||
$noscrape = str_replace(array("/hcard/", "/profile/"), "/noscrape/", $profile);
|
||||
$data = self::poll_noscrape($noscrape, $data);
|
||||
|
@ -591,6 +593,8 @@ class Probe {
|
|||
$prof_data["fn"] = $data["name"];
|
||||
$prof_data["key"] = $data["pubkey"];
|
||||
|
||||
logger("Result for profile ".$profile.": ".print_r($prof_data, true), LOGGER_DEBUG);
|
||||
|
||||
return $prof_data;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue