From 9f2dae0c39ffd5f3cd30156dd6c6dff4d3b154ce Mon Sep 17 00:00:00 2001 From: Hauke Hund Date: Mon, 19 Feb 2024 22:38:59 +0100 Subject: [PATCH] removed not needed log message placeholders --- .../main/java/dev/dsf/common/auth/DsfOpenIdConfiguration.java | 2 +- .../java/dev/dsf/fhir/service/InitialDataMigratorImpl.java | 2 +- .../fhir/subscription/WebSocketSubscriptionManagerImpl.java | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/auth/DsfOpenIdConfiguration.java b/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/auth/DsfOpenIdConfiguration.java index 173714c8a..b87e881f2 100644 --- a/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/auth/DsfOpenIdConfiguration.java +++ b/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/auth/DsfOpenIdConfiguration.java @@ -100,7 +100,7 @@ public String getPrivateKeyId() } catch (InterruptedException | ExecutionException | TimeoutException e) { - logger.debug("Unable to retrieve keys from {}: {} - {}", jwksUri, e); + logger.debug("Unable to retrieve keys from {}", jwksUri, e); logger.warn("Unable to retrieve keys from {}: {} - {}", jwksUri, e.getClass().getName(), e.getMessage()); throw new RuntimeException(e); diff --git a/dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/service/InitialDataMigratorImpl.java b/dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/service/InitialDataMigratorImpl.java index 4306373b6..767ce84c7 100644 --- a/dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/service/InitialDataMigratorImpl.java +++ b/dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/service/InitialDataMigratorImpl.java @@ -34,7 +34,7 @@ public void execute() throws Exception } catch (Exception e) { - logger.debug("Initial data migration job '{}' failed with error: {}", job.getClass().getName(), e); + logger.debug("Initial data migration job '{}' failed with error", job.getClass().getName(), e); logger.warn("Initial data migration job '{}' failed with error: {} - {}", job.getClass().getName(), e.getClass().getName(), e.getMessage()); throw new RuntimeException(e); diff --git a/dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/subscription/WebSocketSubscriptionManagerImpl.java b/dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/subscription/WebSocketSubscriptionManagerImpl.java index 862bf9df3..e7aac3fc7 100755 --- a/dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/subscription/WebSocketSubscriptionManagerImpl.java +++ b/dsf-fhir/dsf-fhir-server/src/main/java/dev/dsf/fhir/subscription/WebSocketSubscriptionManagerImpl.java @@ -339,8 +339,7 @@ private void send(SessionIdAndRemoteAsync sessionAndRemote, String text) } catch (Exception e) { - logger.debug("Error while sending event to remote with session id {}: {} - {}", sessionAndRemote.sessionId, - e); + logger.debug("Error while sending event to remote with session id {}", sessionAndRemote.sessionId, e); logger.warn("Error while sending event to remote with session id {}: {} - {}", sessionAndRemote.sessionId, e.getClass().getName(), e.getMessage()); }