aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Zotfinger.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-10-25 14:45:26 +0200
committerMario Vavti <mario@mariovavti.com>2023-10-25 14:45:26 +0200
commit286104a988e4c21fc903518128317ce6abf204ce (patch)
treeb152ed3e2ef75352974c5da0c9215309cc79a0d1 /Zotlabs/Lib/Zotfinger.php
parent8ea6ead08ad56c1698e870f694cafe4ccb7bab2d (diff)
downloadvolse-hubzilla-286104a988e4c21fc903518128317ce6abf204ce.tar.gz
volse-hubzilla-286104a988e4c21fc903518128317ce6abf204ce.tar.bz2
volse-hubzilla-286104a988e4c21fc903518128317ce6abf204ce.zip
slightly less noise when logging normal
Diffstat (limited to 'Zotlabs/Lib/Zotfinger.php')
-rw-r--r--Zotlabs/Lib/Zotfinger.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Zotfinger.php b/Zotlabs/Lib/Zotfinger.php
index fa57ab56d..cbfa85f2d 100644
--- a/Zotlabs/Lib/Zotfinger.php
+++ b/Zotlabs/Lib/Zotfinger.php
@@ -37,7 +37,7 @@ class Zotfinger {
$redirects = 0;
$x = z_post_url($resource,$data,$redirects, [ 'headers' => $h ] );
- logger('fetch: ' . print_r($x,true));
+ logger('fetch: ' . print_r($x,true), LOGGER_DATA);
if (in_array(intval($x['return_code']), [ 404, 410 ]) && $recurse) {
@@ -74,7 +74,7 @@ class Zotfinger {
$result['data'] = json_decode(Crypto::unencapsulate($result['data'],get_config('system','prvkey')),true);
}
- logger('decrypted: ' . print_r($result,true));
+ logger('decrypted: ' . print_r($result,true), LOGGER_DATA);
return $result;
}