]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
info about discovery in Ostatus_profile::ensureWebfinger()
authorEvan Prodromou <evan@status.net>
Fri, 26 Feb 2010 02:07:52 +0000 (21:07 -0500)
committerEvan Prodromou <evan@status.net>
Fri, 26 Feb 2010 02:07:52 +0000 (21:07 -0500)
plugins/OStatus/classes/Ostatus_profile.php

index ad9170f5b1386b5efceff566d72658d800827e05..26d776d52ef07de3acb6acdadce3da59aa83cd4b 100644 (file)
@@ -1407,6 +1407,7 @@ class Ostatus_profile extends Memcached_DataObject
 
         if (isset($feedUrl)) {
             try {
+                common_log(LOG_INFO, "Discovery on acct:$addr with feed URL $feedUrl");
                 $oprofile = self::ensureProfile($feedUrl, $hints);
                 self::cacheSet(sprintf('ostatus_profile:webfinger:%s', $addr), $oprofile->uri);
                 return $oprofile;
@@ -1420,6 +1421,7 @@ class Ostatus_profile extends Memcached_DataObject
 
         if (isset($profileUrl)) {
             try {
+                common_log(LOG_INFO, "Discovery on acct:$addr with profile URL $profileUrl");
                 $oprofile = self::ensureProfile($profileUrl, $hints);
                 self::cacheSet(sprintf('ostatus_profile:webfinger:%s', $addr), $oprofile->uri);
                 return $oprofile;