Skip to content

Commit

Permalink
Log levels (#58)
Browse files Browse the repository at this point in the history
* Fixed issue where retrying the event upload job threw exceptions

* Add exception handling and debug logging to image deletion job

* Fake out storage for tests

* Apply fixes from StyleCI (#56)

Co-authored-by: Andrew <akmolina28@users.noreply.github.com>

* Add config for log levels

Co-authored-by: Andrew <akmolina28@users.noreply.github.com>
  • Loading branch information
akmolina28 and akmolina28 authored Mar 26, 2021
1 parent 0e0f030 commit 652cb2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ APP_KEY=somerandomstring
APP_URL=http://localhost:8080

LOG_CHANNEL=stack
APP_LOG_LEVEL=error

DB_CONNECTION=mysql
DB_HOST=mysql
Expand Down
2 changes: 1 addition & 1 deletion src/config/logging.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
'single' => [
'driver' => 'single',
'path' => storage_path('logs/laravel.log'),
'level' => 'debug',
'level' => env('APP_LOG_LEVEL', 'error'),
],

'daily' => [
Expand Down

0 comments on commit 652cb2d

Please sign in to comment.