Skip to content

Commit

Permalink
Increased HAPI FHIR logging level
Browse files Browse the repository at this point in the history
...because it was flooding the logs.
  • Loading branch information
DavidCroftDKFZ committed Jan 17, 2025
1 parent dd04ee0 commit a275cd7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>de.samply</groupId>
<artifactId>directory_sync_service</artifactId>
<version>1.5.7</version>
<version>1.5.8</version>
<name>directory_sync_service</name>
<description>Directory sync</description>
<url>https://github.com/samply/directory_sync_service</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ protected boolean isValidIcdValue(String diagnosis) {
Map<String, Object> item = diseaseTypeList.get(0);

if (item == null) {
logger.warn("fetchCollectionGetOutcomes: first item in list of disease types is null!");
logger.warn("isValidIcdValue: first item in list of disease types is null!");
return false;
}

Expand Down
8 changes: 8 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,11 @@ ds:
max_facts: "-1"
mock: "False"
only_login: "False"

# HAPI FHIR floods the logs at the INFO level, so cut off at WARN
logging:
level:
ca:
uhn:
fhir: "WARN"

0 comments on commit a275cd7

Please sign in to comment.