Skip to content

Commit

Permalink
logging availability status transition
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioT90 committed Jan 29, 2025
1 parent 7965382 commit 478d0cc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ management:
endpoint:
health:
probes.enabled: true
logging.slow-indicator-threshold: "\${HEALTH_ACTUATOR_LOGGER_TIMEOUT_DURATION:PT1S}"
group:
readiness.include: "*"
liveness.include: livenessState,diskSpace,ping
Expand All @@ -53,6 +54,10 @@ management:

logging:
level:
root: "\${LOG_LEVEL_ROOT:INFO}"
it.gov.pagopa: "\${LOG_LEVEL_PAGOPA:INFO}"
org.springframework: "\${LOG_LEVEL_SPRING:INFO}"
org.springframework.boot.availability: "\${LOG_LEVEL_SPRING_BOOT_AVAILABILITY:DEBUG}"
it.gov.pagopa.pu.organization.exception.ControllerExceptionHandler: "\${LOGGING_LEVEL_CONTROLLER_EXCEPTION:INFO}"

app:
Expand Down

0 comments on commit 478d0cc

Please sign in to comment.