centraldogma icon indicating copy to clipboard operation
centraldogma copied to clipboard

Ignore known exceptions from logging

Open ikhoon opened this issue 1 year ago • 0 comments

Motivation:

Central Dogma does not use Armeria's LoggingClient, so known exceptions handled by HttpApiExceptionHandler are logged in DefaultUnloggedExceptionsReporter.

Moditications:

  • Set ctx.setShouldReportUnloggedExceptions(false) to ignore known exceptions they don't need to be logged.

Result:

You no longer see warnings about ignorable exceptions.

ikhoon avatar Aug 29 '24 08:08 ikhoon