Skip to content

Commit

Permalink
More logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
flexable777 committed Nov 13, 2024
1 parent 8da6270 commit 553d9d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/kotlin/no/nav/klage/config/SseBrokenPipeLogFilter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ class SseBrokenPipeLogFilter : TurboFilter() {
) {
ourLogger.debug("Suppressing error log message when broken pipe and logger is ${logger?.name}. This is probably due to lost client during async/SSE operations.")
return FilterReply.DENY
} else {
ourLogger.debug("Got another type of exception: ${throwable.javaClass.name} with message: ${throwable.message}")
return FilterReply.NEUTRAL
}
}

Expand Down

0 comments on commit 553d9d3

Please sign in to comment.