Skip to content

Commit

Permalink
Merge pull request #508 from panoratech/env-details-logs
Browse files Browse the repository at this point in the history
🔊 Added env, distribution, commit to logging
  • Loading branch information
rflihxyz authored Jun 18, 2024
2 parents 5cafa06 + 2a06a78 commit 9c17b88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/api/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ import { PrismaModule } from '@@core/prisma/prisma.module';
pinoHttp: {
customProps: (req, res) => ({
context: 'HTTP',
env: process.env.ENV,
distribution: process.env.DISTRIBUTION,
commit_id: process.env.QOVERY_APPLICATION_Z6E264DA1_GIT_COMMIT_ID,
}),
transport:
process.env.AXIOM_AGENT_STATUS === 'ENABLED'
Expand Down

0 comments on commit 9c17b88

Please sign in to comment.