diff --git a/app/TransactionRules/Actions/SetCategory.php b/app/TransactionRules/Actions/SetCategory.php index 754f663e15..500d7bd559 100644 --- a/app/TransactionRules/Actions/SetCategory.php +++ b/app/TransactionRules/Actions/SetCategory.php @@ -76,7 +76,7 @@ class SetCategory implements ActionInterface $journal->touch(); - Log::debug(sprintf('RuleAction SetCategory set the category of journal #%d to budget #%d ("%s").', $journal->id, $category->id, $category->name)); + Log::debug(sprintf('RuleAction SetCategory set the category of journal #%d to category #%d ("%s").', $journal->id, $category->id, $category->name)); return true; } diff --git a/config/logging.php b/config/logging.php index f031506d13..5c5d39ec08 100644 --- a/config/logging.php +++ b/config/logging.php @@ -21,6 +21,7 @@ declare(strict_types=1); + use FireflyIII\Support\Logging\AuditLogger; return [ @@ -58,12 +59,12 @@ return [ 'channels' => ['daily', 'slack'], ], - 'single' => [ + 'single' => [ 'driver' => 'single', 'path' => storage_path('logs/laravel.log'), 'level' => envNonEmpty('APP_LOG_LEVEL', 'info'), ], - 'stdout' => [ + 'stdout' => [ 'driver' => 'single', 'path' => 'php://stdout', 'level' => envNonEmpty('APP_LOG_LEVEL', 'info'), @@ -77,8 +78,8 @@ return [ 'audit' => [ 'driver' => 'daily', 'path' => storage_path('logs/ff3-audit.log'), - 'tap' => [AuditLogger::class], - 'level' => envNonEmpty('APP_LOG_LEVEL', 'info'), + 'tap' => [AuditLogger::class], + 'level' => 'info', 'days' => 90, ], 'dailytest' => [