Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-60

Logging config and libs clean up for KIE Server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.0
    • 6.x.x
    • Kie-Server
    • None

    Description

      Description of problem:
      KIE Server (BRMS exec. server) is not logging properly when running on Tomcat. The WEB-INF/lib dir is missing slf4j-jdk14, the bridge that would delegate the logging calls to JUL (logging impl in Tomcat). There is also commons-logging inside the WEB-INF/lib, this one should be removed as we are using jcl-over-slf4j.

      Other WARs (ee6, ee7) may not be impacted, but that needs to be investigated.

      Version-Release number of selected component (if applicable):
      6.1.0.ER5 (and current 6.2.0-SNAPSHOTs)

      How reproducible:
      Always

      Steps to Reproduce:
      1. Deploy -webc.war into Tomcat.
      2. See log, where SLF4j complains that it can't find any logging impl and defaulting to NOP (no logging message printed)

      Actual results:
      No logging messages from KIE Server.

      Expected results:
      All specified logging message from KIE Server printed, according to configuration in container.

      Additional info:
      Workaround is to add slf4j-jdk14 into WEB-INF/lib manually.

      Attachments

        Issue Links

          Activity

            People

              psiroky_jira Petr Široký (Inactive)
              psiroky_jira Petr Široký (Inactive)
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Marek Winkler (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: