Add debug logging of ProfilePollQueue::add calls

This commit is contained in:
Hypolite Petovan 2018-11-13 22:00:50 -05:00
commit bbff23caa5
3 changed files with 6 additions and 3 deletions

View file

@ -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);
}
}