From: Michael Date: Sun, 28 Jan 2024 12:22:58 +0000 (+0000) Subject: Logging improved X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=25f45cf11621b07c4eb931c05c06f884ac6826e9;p=friendica.git Logging improved --- diff --git a/src/Protocol/Relay.php b/src/Protocol/Relay.php index 3c655f8cb7..d57cac21bf 100644 --- a/src/Protocol/Relay.php +++ b/src/Protocol/Relay.php @@ -114,7 +114,7 @@ class Relay $content_cleaned = mb_strtolower(BBCode::toPlaintext($cleaned, false)); if (strlen($content_cleaned) < strlen($content) / 2) { - Logger::info('Possible hashtag spam detected - rejected', ['hashtags' => $tags, 'network' => $network, 'url' => $url, 'causer' => $causer, 'body' => $body]); + Logger::info('Possible hashtag spam detected - rejected', ['hashtags' => $tags, 'network' => $network, 'url' => $url, 'causer' => $causer, 'content' => $content]); return false; } }