Skip to content

Commit

Permalink
ci(log): disable exception logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed Apr 28, 2024
1 parent a35fc15 commit 630fd6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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=stack
LOG_CHANNEL=discard

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

Expand Down

0 comments on commit 630fd6b

Please sign in to comment.