We have an application that contains lot of servlets, struts action classes, utility classes, EJBs, etc. Unfortunately, the application does not use logging. We need to track the code flow for each and every feature. Sometimes in the code flow, we need to manually debug some 50 classes to understand the code flow. Given the size of the application, this is a tough task to do. Is there any tool to log the stack trace or the entire code flow when an application is served via JBoss??