can someone show me examples how to use the process logging? I am primarily interested in extracting information about the processes (which nodes was traversed, etc)
I tried to fetch information using findLogsByProcessInstance, but it only seems to return some initial information from the first node (and not information for all nodes as I was expecting?) Can someone explain how it works? Or give my pointers to some source code that displays logging information, I could not find any in the src directory? This is my code: | Map logMap = myLog.findLogsByProcessInstance(processInstanceId); | for (Iterator it = logMap.entrySet().iterator(); it.hasNext();) { | Map.Entry entry = (Map.Entry) it.next(); | Token myToken = (Token) entry.getKey(); | List myList = (List) entry.getValue(); | log.debug(logPrefix2 + "Token.toString=" + myToken.toString()); | | WorkflowLogTO myEntry = new WorkflowLogTO(); | myEntry.tokenInfo = myToken.toString(); | myEntry.logEntries = new ArrayList<String>(); | | for (Iterator iter2 = myList.iterator(); iter2.hasNext();) { | ProcessLog myP = (ProcessLog) iter2.next(); | log.debug(logPrefix2 + "...log=" + myP.toString()); | myEntry.logEntries.add(myP.toString()); | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942921#3942921 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942921 ------------------------------------------------------- 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