"kukeltje" wrote : | | http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942962#3942962, don't you think that solution is better than to write custom messages? afaik the information is almost the same or do you write some additional info? does this mean that I do NOT need to write any special logging code?
If not, I am puzzled because isn't the code in that thread doing exactly the same as my code above? JbpmContext context = JbpmConfiguration.getInstance().createJbpmContext(); | try | { | Map logs = context.getLoggingSession().findLogsByProcessInstance(152); | | List logList = (List)logs.get(logs.keySet().iterator().next()); | for (Iterator it = logList.iterator(); it.hasNext(); ) | { | Object log = it.next(); | System.out.println("LOG TYPE: " + log.getClass().getName() + " --> " + log.toString()); | } | } | finally | { | context.close(); | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942992#3942992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942992 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user