aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rwxr-xr-xinclude/diaspora.php2
-rwxr-xr-xinclude/items.php2
-rw-r--r--include/zot.php4
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);