nestjs-sentry icon indicating copy to clipboard operation
nestjs-sentry copied to clipboard

How can we disable "Info" messages by default?

Open simplenotezy opened this issue 2 years ago • 2 comments

I am seeing a lot if not-needed info messages in Sentry:

@ntegral/nestjs-sentry: Nest application successfully started

How can this be disabled?

I tried configuring both level as well as logLevel but they seem not to change anything.

simplenotezy avatar Mar 10 '22 22:03 simplenotezy

Can also confirm that logLevels: ['error'], doesn't do anything either.

xtrinch avatar May 22 '22 19:05 xtrinch

Tried this with no luck:

logLevels: [
  Severity.Fatal,
  Severity.Critical,
  Severity.Error,
  Severity.Warning,
] as LogLevel[]

Looks like I'll have to go this route for now: https://github.com/ntegral/nestjs-sentry/pull/42#issuecomment-1021257277

ctsstc avatar Jun 01 '22 22:06 ctsstc