Generic debug info.

This commit is contained in:
James Cole
2019-02-09 20:44:31 +01:00
parent 1774bcbabe
commit 4f274a290e
2 changed files with 6 additions and 5 deletions

View File

@@ -76,7 +76,7 @@ class SetCategory implements ActionInterface
$journal->touch(); $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; return true;
} }

View File

@@ -21,6 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
use FireflyIII\Support\Logging\AuditLogger; use FireflyIII\Support\Logging\AuditLogger;
return [ return [
@@ -58,12 +59,12 @@ return [
'channels' => ['daily', 'slack'], 'channels' => ['daily', 'slack'],
], ],
'single' => [ 'single' => [
'driver' => 'single', 'driver' => 'single',
'path' => storage_path('logs/laravel.log'), 'path' => storage_path('logs/laravel.log'),
'level' => envNonEmpty('APP_LOG_LEVEL', 'info'), 'level' => envNonEmpty('APP_LOG_LEVEL', 'info'),
], ],
'stdout' => [ 'stdout' => [
'driver' => 'single', 'driver' => 'single',
'path' => 'php://stdout', 'path' => 'php://stdout',
'level' => envNonEmpty('APP_LOG_LEVEL', 'info'), 'level' => envNonEmpty('APP_LOG_LEVEL', 'info'),
@@ -77,8 +78,8 @@ return [
'audit' => [ 'audit' => [
'driver' => 'daily', 'driver' => 'daily',
'path' => storage_path('logs/ff3-audit.log'), 'path' => storage_path('logs/ff3-audit.log'),
'tap' => [AuditLogger::class], 'tap' => [AuditLogger::class],
'level' => envNonEmpty('APP_LOG_LEVEL', 'info'), 'level' => 'info',
'days' => 90, 'days' => 90,
], ],
'dailytest' => [ 'dailytest' => [