From c9d4b068c254bd58e6da5d6349ab8b7ae96b6054 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 9 Nov 2024 12:49:10 +0100 Subject: remove extensiv logging to syslog --- Zotlabs/Lib/Libzot.php | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'Zotlabs/Lib/Libzot.php') 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' )", -- cgit v1.2.3