diff --git a/packages/application-generic/src/logging/index.ts b/packages/application-generic/src/logging/index.ts index a5d43a5d55e..234e2af5b29 100644 --- a/packages/application-generic/src/logging/index.ts +++ b/packages/application-generic/src/logging/index.ts @@ -1,4 +1,4 @@ -import { NestInterceptor } from '@nestjs/common'; +import { NestInterceptor, RequestMethod } from '@nestjs/common'; import { LoggerErrorInterceptor, Logger, @@ -108,6 +108,7 @@ export function createNestLoggingModuleOptions( ); return { + exclude: [{ path: '*/health-check', method: RequestMethod.GET }], pinoHttp: { customLevels: loggingLevelSet, level: values.level,