[rules-users] Does KnowledgeRuntimeLogger work with persistence?

dunnlow dunnlow at yahoo.com
Wed Apr 17 14:15:05 EDT 2013


I am using Drools 5.5 with persistence.  If I create a session like:

     ksession = kbase.newStatefulKnowledgeSession(null,env); 

My logger works as expected:

     KnowledgeRuntimeLogger klogger =
KnowledgeRuntimeLogger.newFileLogger(ksession,"run")

HOWEVER, if I create the ksession like:

     ksession =
JPAKnowledgeService.newStatefulKnowledgeSession(kbase,null,env)

my klogger file (run.log) is never created.

Is this expected?  Is there a way to get a runtime log using persistence?

Thanks!



--
View this message in context: http://drools.46999.n3.nabble.com/Does-KnowledgeRuntimeLogger-work-with-persistence-tp4023372.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list