Bug 1196660 - Logging config and libs clean up for KIE Server
Summary: Logging config and libs clean up for KIE Server
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Kie-Server
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: DR1
: 6.2.0
Assignee: Edson Tirelli
QA Contact: Karel Suta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-26 13:19 UTC by Petr Široký
Modified: 2020-03-27 20:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 20:09:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1190203 0 high CLOSED Business-central: clean up logging configuration and libraries 2021-02-22 00:41:40 UTC

Internal Links: 1190203

Description Petr Široký 2015-02-26 13:19:11 UTC
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.

Comment 2 Karel Suta 2015-11-04 09:40:27 UTC
Verified in 6.2.0ER5.
Log messages are printed, slf4j-jdk14 found.

Comment 3 Karel Suta 2015-11-04 10:00:22 UTC
Reopened as there is still commons-logging artifact in WEB-INF/lib directory of kie server.
After consulting with Petr this should be solved by creating enforcer rule for transitive dependencies.


Note You need to log in before you can comment on or make changes to this bug.