From 0c99cee092c32a10d793d6e618b355869acc90e2 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 11 Dec 2016 18:39:39 +0000 Subject: [PATCH] Some logging to detect possible problems with the probing --- include/Probe.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/Probe.php b/include/Probe.php index aa9f7d21df..14e8d5bcad 100644 --- a/include/Probe.php +++ b/include/Probe.php @@ -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; } -- 2.39.5