droolsjbpm/drools — pull request #315 by tarilabs (2014-02-19 09:11:06+00:00)
Title: Suspected typo in "Example 4.20. FileLogger"

Ref. https://issues.jboss.org/browse/DROOLS-380

In the documentation [1] example 4.20 mention the following code snippet.
KieRuntimeLogger logger = KieServices.Factory.get().newFileLogger(ksession, "logdir/mylogfile");
However that doesn't compile. I believe is missing a .getLoggers() so the proper snippet, I believe, was intended as
KieRuntimeLogger logger = KieServices.Factory.get().getLoggers().newFileLogger(ksession, "logdir/mylogfile");
Ciao
MM
References:
[1] http://docs.jboss.org/drools/release/6.0.0.Final/drools-docs/html_single/#d0e1904