Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-15195

Update XmLoggingSystem implementation to not to use the deprecated Log4J2LoggingSystem#loadConfiguration method

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 14.7.9, 14.7.10, 14.7.11, 15.1.3
    • 14.7.12, 15.1.4, 15.2.0
    • None
    • None
    • Pulsar
    • Pulsar 299 - Cycle 7 Cooldown

    Description

      org.bloomreach.xm.cms.XmLoggingSystem class extends and overrides org.springframework.boot.logging.log4j2.Log4J2LoggingSystem class to parse comma seperated log4j2 configuraton files for OD1 environment.

      The method Log4J2LoggingSystem#loadConfiguration(String location, LogFile logFile) which is overrided by XmLogginSystem has been deprecated since spring-boot 2.6.0 hence this method is not called during spring-boot initialization on startup. Eventually the XmLoggingSystem implementation doesn't work anymore and needs to be updated to use Log4J2LoggingSystem#loadConfiguration(String location, LogFile logFile, List<String> overrides) method.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ekarakus Erdem Karakus
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: