Skip to content

Commit

Permalink
feat: disable the IPF file writting into the container file system. S…
Browse files Browse the repository at this point in the history
…end logs to the console and not the filesystem for other log sources.
  • Loading branch information
lfdesousa committed Jun 27, 2024
1 parent 2a29668 commit 03dcad7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>ch.bfh</groupId>
<artifactId>mobile-access-gateway</artifactId>
<version>0.0.40</version>
<version>0.0.41</version>
<description>FHIR Gateway supporting the PMIR and MHD server actors and uses XDS/PIXV3 to communicate with an XDS Affinity Domain</description>
<packaging>jar</packaging>

Expand Down
9 changes: 8 additions & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ logging:
level:
root: info
org.springframework.security: DEBUG
org.openehealth.ipf.commons.ihe: DEBUG # Ensure the IPF logs are at the desired level
appender:
console:
enabled: true
Expand All @@ -122,4 +123,10 @@ management:
web:
exposure:
include: [ "metrics","prometheus","actuator","health", "liveness","beans","info" ]
base-path: /actuator
base-path: /actuator

# Configure system properties for IPF
system:
properties:
org.openehealth.ipf.commons.ihe.core.payload.PayloadLoggerBase.DISABLED: true
org.openehealth.ipf.commons.ihe.core.payload.PayloadLoggerBase.CONSOLE: true

0 comments on commit 03dcad7

Please sign in to comment.