diff --git a/src/classes/Controllers/Api/Submit.php b/src/classes/Controllers/Api/Submit.php index f5fa362..243bbf0 100644 --- a/src/classes/Controllers/Api/Submit.php +++ b/src/classes/Controllers/Api/Submit.php @@ -68,7 +68,8 @@ class Submit ['base_url' => $profileUriInfo['server_uri']] ); - $this->profilePollQueueModel->add($url); + $result = $this->profilePollQueueModel->add($url); + $this->logger->debug('Profile queue add URL: ' . $url . ' - ' . $result); $this->logger->info('Successfully received profile URL'); } catch (\Exception $ex) { diff --git a/src/classes/Pollers/Directory.php b/src/classes/Pollers/Directory.php index e6f4143..04dff76 100644 --- a/src/classes/Pollers/Directory.php +++ b/src/classes/Pollers/Directory.php @@ -60,7 +60,8 @@ class Directory $profiles = $this->getPullResult($directory_url, $last_polled); foreach ($profiles as $profile_url) { - $this->profilePollQueueModel->add($profile_url); + $result = $this->profilePollQueueModel->add($profile_url); + $this->logger->debug('Profile queue add URL: ' . $profile_url . ' - ' . $result); } $this->logger->info('Successfully pulled ' . count($profiles) . ' profiles'); diff --git a/src/classes/Pollers/Server.php b/src/classes/Pollers/Server.php index 99d4977..ed0a4fb 100644 --- a/src/classes/Pollers/Server.php +++ b/src/classes/Pollers/Server.php @@ -174,7 +174,8 @@ class Server //Add the admin to the directory if (!empty($probe_result['data']['admin']['profile'])) { - $this->profilePollQueueModel->add($probe_result['data']['admin']['profile']); + $result = $this->profilePollQueueModel->add($probe_result['data']['admin']['profile']); + $this->logger->debug('Profile queue add URL: ' . $probe_result['data']['admin']['profile'] . ' - ' . $result); } }