diff --git a/.env.test b/.env.test index f06c69e..933dadf 100644 --- a/.env.test +++ b/.env.test @@ -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 diff --git a/src/config/logging.ts b/src/config/logging.ts index a5c7e41..7968b93 100644 --- a/src/config/logging.ts +++ b/src/config/logging.ts @@ -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' },