Skip to content

Commit

Permalink
fix logging path for different user permission
Browse files Browse the repository at this point in the history
  • Loading branch information
martiendt committed Feb 17, 2020
1 parent 785afac commit 5ac4619
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/logging.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@

'single' => [
'driver' => 'single',
'path' => storage_path('logs/laravel.log'),
'path' => storage_path('logs/' . php_sapi_name() . '-laravel.log'),
'level' => 'debug',
],

'testing' => [
'driver' => 'single',
'path' => storage_path('logs/testing.log'),
'path' => storage_path('logs/' . php_sapi_name() . '-testing.log'),
'level' => 'debug',
],

'daily' => [
'driver' => 'daily',
'path' => storage_path('logs/laravel.log'),
'path' => storage_path('logs/' . php_sapi_name() . '-laravel.log'),
'level' => 'debug',
'days' => 7,
],
Expand Down

0 comments on commit 5ac4619

Please sign in to comment.