From 698c584608c34aaf6b40de175e4dfe6e57fc7e2d Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Wed, 28 Sep 2022 17:17:39 +0200 Subject: chore(core): change log basic status-messager implementation wrote log messages on level 'debug' if no message property was found --- .../eaaf/core/impl/logging/SpringBasedBasicStatusMessager.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'eaaf_core_utils/src/main/java') diff --git a/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/logging/SpringBasedBasicStatusMessager.java b/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/logging/SpringBasedBasicStatusMessager.java index a62b8c9b..27fc04d2 100644 --- a/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/logging/SpringBasedBasicStatusMessager.java +++ b/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/logging/SpringBasedBasicStatusMessager.java @@ -41,8 +41,8 @@ public class SpringBasedBasicStatusMessager implements IStatusMessenger, Message return messageSource.getMessage(messageId, parameters, locale); } catch (final NoSuchMessageException e) { - log.info(MSG_WARN_NO_SOURCE, messageId, LocaleContextHolder.getLocale()); - log.debug(MSG_INFO, Locale.ENGLISH); + log.debug(MSG_WARN_NO_SOURCE, messageId, LocaleContextHolder.getLocale()); + log.trace(MSG_INFO, Locale.ENGLISH); try { return messageSource.getMessage(messageId, parameters, Locale.ENGLISH); @@ -70,14 +70,14 @@ public class SpringBasedBasicStatusMessager implements IStatusMessenger, Message return messageSource.getMessage(messageId, parameters, locale); } catch (final NoSuchMessageException e) { - log.info(MSG_WARN_NO_SOURCE, messageId, LocaleContextHolder.getLocale()); - log.debug(MSG_INFO, Locale.ENGLISH); + log.debug(MSG_WARN_NO_SOURCE, messageId, LocaleContextHolder.getLocale()); + log.trace(MSG_INFO, Locale.ENGLISH); try { return messageSource.getMessage(messageId, parameters, Locale.ENGLISH); } catch (final NoSuchMessageException e2) { - log.info(MSG_WARN_NO_SOURCE, messageId, Locale.ENGLISH); + log.debug(MSG_WARN_NO_SOURCE, messageId, Locale.ENGLISH); } -- cgit v1.2.3