diff --git a/api/src/main/java/ca/bc/gov/educ/api/pen/services/helpers/LogHelper.java b/api/src/main/java/ca/bc/gov/educ/api/pen/services/helpers/LogHelper.java index d3537bd..737a4c7 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/pen/services/helpers/LogHelper.java +++ b/api/src/main/java/ca/bc/gov/educ/api/pen/services/helpers/LogHelper.java @@ -76,7 +76,7 @@ public static void logClientHttpReqResponseDetails(@NonNull final HttpMethod met public static void logMessagingEventDetails(final String event) { try { MDC.putCloseable("messageEvent", event); - log.info(""); + log.debug(""); MDC.clear(); } catch (final Exception exception) { log.error(EXCEPTION, exception); diff --git a/api/src/main/java/ca/bc/gov/educ/api/pen/services/messaging/MessageSubscriber.java b/api/src/main/java/ca/bc/gov/educ/api/pen/services/messaging/MessageSubscriber.java index 02fa474..a608f4e 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/pen/services/messaging/MessageSubscriber.java +++ b/api/src/main/java/ca/bc/gov/educ/api/pen/services/messaging/MessageSubscriber.java @@ -113,7 +113,7 @@ public void subscribe() { private MessageHandler onMessage() { return (Message message) -> { if (message != null) { - log.info("Message received is :: {} ", message); + log.debug("Message received is :: {} ", message); try { final var eventString = new String(message.getData()); LogHelper.logMessagingEventDetails(eventString);