Skip to content

Commit

Permalink
ci(env): add exception logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed Apr 28, 2024
1 parent d2834bb commit d21eccb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ APP_DOCUMENTATION=${APP_URL}/docs
APP_SOURCE=https://github.com/AthennaIO

LOG_HTTP=false
LOG_CHANNEL=discard
LOG_CHANNEL=stack

DB_CONNECTION=fake
DB_HOST=localhost
Expand Down
3 changes: 2 additions & 1 deletion src/config/logging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ export default {
exception: {
level: 'trace',
formatter: 'none',
driver: Env('APP_ENV') === 'test' ? 'null' : 'console',
driver: 'console',
// driver: Env('APP_ENV') === 'test' ? 'null' : 'console',
streamType: 'stderr'
},

Expand Down

0 comments on commit d21eccb

Please sign in to comment.