diff options
author | Thomas <> | 2022-09-28 17:17:39 +0200 |
---|---|---|
committer | Thomas <> | 2022-09-28 17:17:39 +0200 |
commit | 698c584608c34aaf6b40de175e4dfe6e57fc7e2d (patch) | |
tree | 76d66d691153b9fe59f71c78ec9078b08bad3efe /eaaf_core_utils/src | |
parent | 1ae13486256a5d71c356a6eafc47b96b77c59ded (diff) | |
download | EAAF-Components-698c584608c34aaf6b40de175e4dfe6e57fc7e2d.tar.gz EAAF-Components-698c584608c34aaf6b40de175e4dfe6e57fc7e2d.tar.bz2 EAAF-Components-698c584608c34aaf6b40de175e4dfe6e57fc7e2d.zip |
chore(core): change log basic status-messager implementation
wrote log messages on level 'debug' if no message property was found
Diffstat (limited to 'eaaf_core_utils/src')
-rw-r--r-- | eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/logging/SpringBasedBasicStatusMessager.java | 10 |
1 files changed, 5 insertions, 5 deletions
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); } |