From: Evan Prodromou Date: Sun, 7 Sep 2008 19:34:02 +0000 (-0400) Subject: debugging for omb X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c660a3438f6b73f9fdde66abd476775f058ab31b;p=quix0rs-gnu-social.git debugging for omb darcs-hash:20080907193402-84dde-cc5ecd5d02a00e3dfb7523f93d7f0a9ddbe6fb1b.gz --- diff --git a/lib/omb.php b/lib/omb.php index d4f53c3322..28bffea136 100644 --- a/lib/omb.php +++ b/lib/omb.php @@ -126,8 +126,12 @@ function omb_broadcast_remote_subscribers($notice) { while ($rp->fetch()) { if (!$posted[$rp->postnoticeurl]) { + common_log(LOG_DEBUG, 'Posting to ' . $rp->postnoticeurl); if (omb_post_notice_keys($notice, $rp->postnoticeurl, $rp->token, $rp->secret)) { + common_log(LOG_DEBUG, 'Finished to ' . $rp->postnoticeurl); $posted[$rp->postnoticeurl] = TRUE; + } else { + common_log(LOG_DEBUG, 'Failed posting to ' . $rp->postnoticeurl); } } }