Details
-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
6.0.1
-
None
-
Build Name: 22604, Development Guide-6.0-1
Build Date: 01-04-2014 16:27:21
Topic ID: 30083-621547 [Latest]
Description
Title: KieRuntimeLogger
Describe the issue:
In 5.4.4 of the Development Guide for BRMS Platform 6, there is an example of how to use the FileLogger at https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_BRMS/6.0/html/Development_Guide/KieRuntimeLogger.html. The example is listed as: KieRuntimeLogger logger =
KieServices.Factory.get().newFileLogger(ksession, "logdir/mylogfile");. However, this does not actually work.
Suggestions for improvement:
The example should be:
KieRuntimeLogger logger =
KieServices.Factory.get().getLoggers().newFileLogger(ksession, "logdir/mylogfile");
Additional information: