[jboss-user] [JBoss jBPM] - No logging to JBPM_LOG when process instance ends

jbarrez do-not-reply at jboss.com
Tue Apr 1 10:00:11 EDT 2008


I know that in order to flush the logs to the JBPM_LOG table, one has to call the jbpmContext.save(processInstance) method (as described in the user guide)

However, I found it strange that no call to this method is made when the processInstance is ended. 
More specifically, when one forgets to call the save method, I assumed that the end() method of the processInstance would act like a 'catch-all' and flushes the log.

With the current implementation, all logs are gone when the call to the save() method is taken away and the process ends. 
It is obvious that this is quite error-prone, I had assumed the logging was automatic.

Am I missing something here or is it like I just described?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140527#4140527

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140527



More information about the jboss-user mailing list