[jboss-user] [jBPM] - Re: How to add Listory logger

Adam Bach do-not-reply at jboss.com
Sat Oct 1 15:59:35 EDT 2011


Adam Bach [http://community.jboss.org/people/heathcliff] created the discussion

"Re: How to add Listory logger"

To view the discussion, visit: http://community.jboss.org/message/629702#629702

--------------------------------------------------------------
modify CommandDelegate.java

private StatefulKnowledgeSession getSession() {
        if (ksession == null) {
            ksession = newStatefulKnowledgeSession();
            new JPAWorkingMemoryDbLogger(ksession);//this is new line!!!
        }
        return ksession;
    }


Is this enough to make history logging working?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/629702#629702]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111001/21e738dc/attachment.html 


More information about the jboss-user mailing list