Details
-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
Description
Drools's audit logging should log to slf4j, so the user can easily configure advanced logging features such as rolling files, zipped files, ...
Also enabling the logging should be user friendly. So instead of this:
KnowledgeRuntimeLogger logger =
KnowledgeRuntimeLoggerFactory.newFileLogger(ksession, "logdir/mylogfile");
...
logger.close();
They just enable it in the logger configuration (logback.xml or log4j.xml):
<logger name="org.drools.logger.audit" level="trace"/>
This way, drools's audit logging is no longer the odd duck in the normal logging output.
Attachments
Issue Links
- is blocked by
-
JBRULES-2301 Get rid of System.out.println statement
- Resolved
- is duplicated by
-
JBRULES-257 Audit logger to optionally use java.util.logging
- Resolved