Skip to content

Commit

Permalink
Fix logbook exclude properties defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
skjolber committed Jan 20, 2025
1 parent 004b8aa commit a93655f
Showing 1 changed file with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ entur.logging.request-response.max-size=131072
entur.logging.request-response.max-body-size=131072

# do not log health checks etc
logbook.exclude[0]=/actuator/health
logbook.exclude[1]=/actuator/health/liveness
logbook.exclude[2]=/actuator/health/readiness
logbook.exclude[3]=/actuator/prometheus
logbook.exclude[4]=/actuator/info
logbook.exclude[5]=/actuator/env
logbook.exclude[6]=/actuator/metrics
logbook.exclude[7]=/actuator/loggers
logbook.predicate.exclude[0]=/actuator/health
logbook.predicate.exclude[1]=/actuator/health/liveness
logbook.predicate.exclude[2]=/actuator/health/readiness
logbook.predicate.exclude[3]=/actuator/prometheus
logbook.predicate.exclude[4]=/actuator/info
logbook.predicate.exclude[5]=/actuator/env
logbook.predicate.exclude[6]=/actuator/metrics
logbook.predicate.exclude[7]=/actuator/loggers
# swagger-related
logbook.exclude[8]=/favicon.*
logbook.exclude[9]=/v2/api-docs
logbook.exclude[10]=/v2/api-docs/**
logbook.exclude[11]=/v3/api-docs
logbook.exclude[12]=/v3/api-docs/**
logbook.exclude[13]=/swagger
logbook.predicate.exclude[8]=/favicon.*
logbook.predicate.exclude[9]=/v2/api-docs
logbook.predicate.exclude[10]=/v2/api-docs/**
logbook.predicate.exclude[11]=/v3/api-docs
logbook.predicate.exclude[12]=/v3/api-docs/**
logbook.predicate.exclude[13]=/swagger
# Some apps use this
logbook.exclude[14]=/metrics
logbook.predicate.exclude[14]=/metrics

0 comments on commit a93655f

Please sign in to comment.