diff options
author | Mario Vavti <mario@mariovavti.com> | 2024-11-09 12:49:10 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2024-11-09 12:49:10 +0100 |
commit | c9d4b068c254bd58e6da5d6349ab8b7ae96b6054 (patch) | |
tree | 0008fbcc408c069c7a7dc7e7dcde2d1bc9977b8d /Zotlabs/Lib | |
parent | b6dbbbc82fd66335f8be990bb74afbd46e63954b (diff) | |
download | volse-hubzilla-c9d4b068c254bd58e6da5d6349ab8b7ae96b6054.tar.gz volse-hubzilla-c9d4b068c254bd58e6da5d6349ab8b7ae96b6054.tar.bz2 volse-hubzilla-c9d4b068c254bd58e6da5d6349ab8b7ae96b6054.zip |
remove extensiv logging to syslog
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/Libzot.php | 13 | ||||
-rw-r--r-- | Zotlabs/Lib/QueueWorker.php | 2 |
2 files changed, 2 insertions, 13 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index 7eabc074f..be2305c04 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -1155,7 +1155,7 @@ class Libzot { && array_key_exists('actor', $AS->obj) && !empty($AS->tgt)) { - hz_syslog('relayed collection operation', LOGGER_DEBUG); + logger('relayed collection operation', LOGGER_DEBUG); $is_collection_operation = true; $original_id = $AS->id; @@ -1330,11 +1330,6 @@ class Libzot { $relay = (($env['type'] === 'response') ? true : false); - if($is_collection_operation) - hz_syslog('col'); - else - hz_syslog('not col'); - $result = self::process_delivery($env['sender'], $AS, $item, $deliveries, $relay, false, $message_request, false, $is_collection_operation); Activity::init_background_fetch($env['sender']); @@ -1862,12 +1857,6 @@ class Libzot { } } - if($is_collection_operation) - hz_syslog('col1'); - else - hz_syslog('not col1'); - - // This is used to fetch allow/deny rules if either the sender // or owner is a connection. post_is_importable() evaluates all of them $abook = q("select * from abook where abook_channel = %d and ( abook_xchan = '%s' OR abook_xchan = '%s' )", diff --git a/Zotlabs/Lib/QueueWorker.php b/Zotlabs/Lib/QueueWorker.php index 4242ec8e7..9e28999c9 100644 --- a/Zotlabs/Lib/QueueWorker.php +++ b/Zotlabs/Lib/QueueWorker.php @@ -284,7 +284,7 @@ class QueueWorker { $jobs++; - hz_syslog("Workinfo: " . $workitem[0]['workerq_data'], LOGGER_DEBUG); + logger("Workinfo: " . $workitem[0]['workerq_data'], LOGGER_DEBUG); $workinfo = json_decode($workitem[0]['workerq_data'], true); $argv = $workinfo['argv']; |