Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #387 from ehrbase/feature/384_spring_boot_actuator
Browse files Browse the repository at this point in the history
Enables Spring Boot Actuator endpoints: Loggers, LogFile and Liquibase
  • Loading branch information
subigre authored Jul 12, 2021
2 parents 6fc5f04 + 87d75b7 commit b2fe89a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ target

*-local.yml
keystore/
logs/

# Python
venv
Expand Down
35 changes: 26 additions & 9 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,34 @@ server:
context-path: /fhir-bridge
# Logging Properties
logging:
file:
name: ./logs/fhir-bridge.log
logback:
rollingpolicy:
max-history: 30
max-file-size: 100MB
level:
ca.uhn.fhir: warn
com.zaxxer.hikari: warn
ca.uhn.fhir: error
com.zaxxer.hikari: error
liquibase: error
org.apache.camel: warn
org.ehrbase.fhirbridge: debug
org.hibernate: warn
org.openehealth.ipf: warn
org.quartz: warn
org.springframework: warn
org.springframework.boot: warn
org.apache.camel: error
org.ehrbase.client: warn
org.ehrbase.fhirbridge: info
org.hibernate: error
org.openehealth.ipf: error
org.quartz: error
org.springframework: error
org.springframework.boot: error
# Management Properties
management:
endpoints:
web:
cors:
allowed-origins: '*'
allowed-methods: '*'
allowed-headers: '*'
exposure:
include: env, health, info, liquibase, logfile, loggers

################################################################################
# Open eHealth Integration Platform Properties #
Expand Down

0 comments on commit b2fe89a

Please sign in to comment.