Skip to content

Commit

Permalink
no terminus
Browse files Browse the repository at this point in the history
  • Loading branch information
davidleonm committed Feb 14, 2025
1 parent c6828ca commit 3892239
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 37 deletions.
6 changes: 2 additions & 4 deletions src/modules/health.module.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import { TerminusModule } from '@nestjs/terminus'
import { Module } from '@nestjs/common'
import { HealthController } from '../controllers/health.controller'
import { GlobalConfig } from '../config/global.config'
import { TerminusLogger } from '../utils/terminusLogger.util'

@Module({
imports: [
TerminusModule.forRoot({
errorLogStyle: GlobalConfig.environment.isProduction ? 'json' : 'pretty',
logger: GlobalConfig.environment.isProduction ? TerminusLogger : true,
errorLogStyle: 'pretty',
logger: true,
}),
],
controllers: [HealthController],
Expand Down
33 changes: 0 additions & 33 deletions src/utils/terminusLogger.util.ts

This file was deleted.

0 comments on commit 3892239

Please sign in to comment.