Skip to content

Commit

Permalink
convert some debug logging to trace
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebSLane committed Sep 28, 2023
1 parent 7b75505 commit 0e35317
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dataexport-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.itech</groupId>
<artifactId>dataexport</artifactId>
<version>0.0.0.7</version>
<version>0.0.0.8</version>
</parent>
<artifactId>dataexport-api</artifactId>
<packaging>jar</packaging>
Expand All @@ -26,7 +26,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.0</version>
<version>1.18.28</version>
<scope>provided</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ private DataExportStatus getBundlesFromLocalServer(DataExportAttempt dataExportA
log.error("error occured while retrieving resources from local fhir store", e);
log.error(getStackTrace(e));
if (bundle != null) {
log.debug(fhirContext.newJsonParser().encodeResourceToString(bundle));
log.trace(fhirContext.newJsonParser().encodeResourceToString(bundle));
}
dataExportStatusService.changeDataRequestAttemptStatus(dataExportAttempt, DataExportStatus.FAILED);
return DataExportStatus.FAILED;
Expand Down Expand Up @@ -199,7 +199,7 @@ private DataExportStatus sendBundlesToRemote(DataExportAttempt dataExportAttempt
+ " bundles successfully", e);
log.error(getStackTrace(e));
if (bundle != null) {
log.debug(fhirContext.newJsonParser().encodeResourceToString(bundle));
log.trace(fhirContext.newJsonParser().encodeResourceToString(bundle));
}
DataExportStatus status = DataExportStatus.FAILED;
if (anyTransactionSucceeded) {
Expand Down
2 changes: 1 addition & 1 deletion dataexport-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.itech</groupId>
<artifactId>dataexport</artifactId>
<version>0.0.0.7</version>
<version>0.0.0.8</version>
</parent>
<artifactId>dataexport-core</artifactId>
<packaging>jar</packaging>
Expand Down
11 changes: 8 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.itech</groupId>
<artifactId>dataexport</artifactId>
<version>0.0.0.7</version>
<version>0.0.0.8</version>
<packaging>pom</packaging>
<name>Data Export</name>

<properties>
<java.version>11</java.version>
<maven.compiler.release>11</maven.compiler.release>
</properties>

<modules>
<module>dataexport-api</module>
<module>dataexport-core</module>
Expand All @@ -27,7 +32,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.0</version>
<version>1.18.28</version>
<scope>provided</scope>
</dependency>

Expand All @@ -47,4 +52,4 @@
</plugins>
</build>

</project>
</project>

0 comments on commit 0e35317

Please sign in to comment.