From 18cae8a78cb3df8ffcd9e4787c3b572c799036da Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 19 Nov 2014 19:22:22 -0800 Subject: change logging of some troublesome or noisy bits so we can figure out what is really going on --- include/diaspora.php | 2 +- include/items.php | 2 +- include/zot.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/diaspora.php b/include/diaspora.php index 09521b82b..b4f20528d 100755 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -1788,7 +1788,7 @@ function diaspora_like($importer,$xml,$msg) { $contact = diaspora_get_contact_by_handle($importer['channel_id'],$msg['author']); if(! $contact) { - logger('diaspora_like: cannot find contact: ' . $msg['author']); + logger('diaspora_like: cannot find contact: ' . $msg['author'] . ' for channel ' . $importer['channel_name']); return; } diff --git a/include/items.php b/include/items.php index 19de52e92..00edeabdd 100755 --- a/include/items.php +++ b/include/items.php @@ -4285,7 +4285,7 @@ function zot_feed($uid,$observer_xchan,$arr) { $mindate = NULL_DATE; $mindate = dbesc($mindate); - logger('zot_feed: ' . $uid); + logger('zot_feed: requested for uid ' . $uid . ' from observer ' . $observer_xchan, LOGGER_DEBUG); if(! perm_is_allowed($uid,$observer_xchan,'view_stream')) { logger('zot_feed: permission denied.'); diff --git a/include/zot.php b/include/zot.php index 1f121802a..3b8584509 100644 --- a/include/zot.php +++ b/include/zot.php @@ -1313,7 +1313,7 @@ function public_recips($msg) { $r = array_merge($r,$x); -logger('message: ' . print_r($msg['message'],true)); + //logger('message: ' . print_r($msg['message'],true)); if($include_sys && array_key_exists('public_scope',$msg['message']) && $msg['message']['public_scope'] === 'public') { $sys = get_sys_channel(); @@ -1351,7 +1351,7 @@ logger('message: ' . print_r($msg['message'],true)); function allowed_public_recips($msg) { - logger('allowed_public_recips: ' . print_r($msg,true)); + logger('allowed_public_recips: ' . print_r($msg,true),LOGGER_DATA); $recips = public_recips($msg); -- cgit v1.2.3