Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

[DROOLS-380] Example 4.20 file logger newFileLogger #315

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Member

tarilabs commented Feb 19, 2014

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

@tarilabs tarilabs 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
905adba
Owner

psiroky commented Jan 29, 2015

The documentation has been moved to https://github.com/droolsjbpm/droolsjbpm-knowledge. I fixed it there. Thanks!

@psiroky psiroky closed this Jan 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment