Skip to content

Commit

Permalink
Merge pull request #1492 from craftcms/bugfix/logvars-in-logs
Browse files Browse the repository at this point in the history
Don't log vars to DB
  • Loading branch information
timkelty authored Aug 14, 2024
2 parents aad2bdc + a035fdf commit 12e1a63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/Logs.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public function init(): void
'levels' => $this->getLogLevels(),
'enabled' => $this->isEnabled(),
'categories' => [self::LOG_CATEGORY],
'logVars' => [],
'prefix' => static function(array $message) {
$log = Json::decodeIfJson($message[0]);
$feed = $log['feed'] ?? null;
Expand Down

0 comments on commit 12e1a63

Please sign in to comment.