Skip to content

Commit

Permalink
Log enter/leave of StoreServiceImpl#postUpdateDB with DEBUG level #1755
Browse files Browse the repository at this point in the history
  • Loading branch information
gunterze committed Dec 28, 2018
1 parent e89a542 commit bbfb882
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ private UpdateDBResult updateDB(StoreContext ctx) throws DicomServiceException {

private void postUpdateDB(StoreContext ctx, UpdateDBResult result) throws IOException {
StoreSession storeSession = ctx.getStoreSession();
LOG.trace("{}: Enter postUpdateDB", storeSession);
LOG.debug("{}: Enter postUpdateDB", storeSession);
Instance instance = result.getCreatedInstance();
if (instance != null) {
if (result.getCreatedPatient() != null) {
Expand All @@ -271,7 +271,7 @@ private void postUpdateDB(StoreContext ctx, UpdateDBResult result) throws IOExce
ctx.setRejectionNote(result.getRejectionNote());
ctx.setPreviousInstance(result.getPreviousInstance());
ctx.setStoredInstance(result.getStoredInstance());
LOG.trace("{}: Leave postUpdateDB", storeSession);
LOG.debug("{}: Leave postUpdateDB", storeSession);
}

private void commitStorage(UpdateDBResult result) throws IOException {
Expand Down

0 comments on commit bbfb882

Please sign in to comment.