diff options
author | friendica <info@friendica.com> | 2014-11-19 19:22:22 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-11-19 19:22:22 -0800 |
commit | 18cae8a78cb3df8ffcd9e4787c3b572c799036da (patch) | |
tree | e2bf55725e574dfacafe50ea485c5833cbd42bc8 | |
parent | 50244f943d0a14e3d7a7fcbe7f51d02dbe039879 (diff) | |
download | volse-hubzilla-18cae8a78cb3df8ffcd9e4787c3b572c799036da.tar.gz volse-hubzilla-18cae8a78cb3df8ffcd9e4787c3b572c799036da.tar.bz2 volse-hubzilla-18cae8a78cb3df8ffcd9e4787c3b572c799036da.zip |
change logging of some troublesome or noisy bits so we can figure out what is really going on
-rwxr-xr-x | include/diaspora.php | 2 | ||||
-rwxr-xr-x | include/items.php | 2 | ||||
-rw-r--r-- | include/zot.php | 4 |
3 files changed, 4 insertions, 4 deletions
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); |