Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-4584

Missing resource bundle should be logged as INFO, not WARN, from ResourceBundleFamilyFactory

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 13.1.0
    • Fix Version/s: 13.2.0
    • Component/s: None

      Description

      ResourceBundleFamilyFactory leaves a warning logs when using ResourceBundleUtils.getResourceBundle(...) like the following:

      [INFO] [talledLocalContainer] 16.04.2019 11:24:01 WARN http-nio-8080-exec-2 [ResourceBundleFamilyFactory.createBundleFamily:81] Cannot load resource bundle with resourcebundle:id 'com.bloomreach.commercedxp.starterstore.components.messages' because no resource bundle with this id found

      Application may want to check an optional resource bundle setting and fallback to something else. Therefore, it is improper to leave a WARN logs every time in HST level.

      It is not the same issue, but we had a similar issues before, HSTTWO-2416, for which we changed the log level from WARN to INFO as well.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              wko Woonsan Ko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: