]> git.mxchange.org Git - friendica.git/commitdiff
Logging improved
authorMichael <heluecht@pirati.ca>
Sun, 28 Jan 2024 12:22:58 +0000 (12:22 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 28 Jan 2024 12:22:58 +0000 (12:22 +0000)
src/Protocol/Relay.php

index 3c655f8cb7e627439988970a9010a225a9ed3a09..d57cac21bf880dcd7b634acf1d666c532e00598a 100644 (file)
@@ -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;
                                }
                        }