change logging of some troublesome or noisy bits so we can figure out what is really going on

This commit is contained in:
friendica 2014-11-19 19:22:22 -08:00
parent 50244f943d
commit 18cae8a78c
3 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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.');

View File

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