Matteo Mortari created DROOLS-380:
-------------------------------------
Summary: Example 4.20 file logger newFileLogger
Key: DROOLS-380
URL:
https://issues.jboss.org/browse/DROOLS-380
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 6.0.0.Final
Reporter: Matteo Mortari
Assignee: Mark Proctor
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/...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira