How can I enable rule engine tracing/logging when the rule application is running on KIE server?
The rule application was created in the Workbench, and contains no custom code. I am able to execute the rules using the KIE REST API, but the rule app is not producing the expected results.
Environment:
Win7
Tomcat 9
Drools 6.5.0-Final
Update:
I have tried the following steps:
- Clone the workbench project locally using git
- Add logback.xml to the project's root directory
- Push changes back to the workbench git repo
- Added logback as a dependency in the workbench Project Editor view
- Update project version and redeploy to the container
When I do this, it ignores my logging settings, but spams log messages endlessly to the console, telling me that it can't instantiate logback classes:
20-Jun-2017 16:58:29.070 WARNING [http-nio-8080-exec-5] org.kie.server.services.drools.DroolsKieServerExtension.createContainer Unable to create instance of type ch.qos.logback.classic.selector.C
ontextSelector due to ch.qos.logback.classic.selector.ContextSelector
20-Jun-2017 16:58:29.083 WARNING [http-nio-8080-exec-5] org.kie.server.services.drools.DroolsKieServerExtension.createContainer Unable to create instance of type ch.qos.logback.classic.selector.C
ontextJNDISelector due to ch.qos.logback.classic.selector.ContextJNDISelector
20-Jun-2017 16:58:29.101 WARNING [http-nio-8080-exec-5] org.kie.server.services.drools.DroolsKieServerExtension.createContainer Unable to create instance of type ch.qos.logback.classic.selector.D
efaultContextSelector due to ch.qos.logback.classic.selector.DefaultContextSelector