Skip to content

Commit

Permalink
Ikke logg sensitivt
Browse files Browse the repository at this point in the history
  • Loading branch information
ingleivj committed Apr 23, 2024
1 parent fb968f1 commit 26c082f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class SimuleringOppdragConfig(config: Config, private val enableLogging: Boolean
if (enableLogging) add(LoggingFeature().apply {
setVerbose(true)
setPrettyLogging(true)
setSensitiveProtocolHeaderNames(setOf("Authorization", "wsse:Security"))
})
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class TilbakekrevingConfig(config: Config, private val enableLogging: Boolean =
if (enableLogging) add(LoggingFeature().apply {
setVerbose(true)
setPrettyLogging(true)
setSensitiveProtocolHeaderNames(setOf("Authorization", "wsse:Security"))
})
}

Expand Down

0 comments on commit 26c082f

Please sign in to comment.