]
David Lloyd commented on JBLOGGING-42:
--------------------------------------
More info:
Include version information in stack traces
-------------------------------------------
Key: JBLOGGING-42
URL:
https://jira.jboss.org/jira/browse/JBLOGGING-42
Project: JBoss Logging
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: jboss-logmanager
Reporter: Randall Hauch
Assignee: David Lloyd
Priority: Minor
Fix For: 1.2.0.CR2-jboss-logmanager
Including JAR and version information for each class in a stack trace provides a lot of
useful information. For example (taken from the LogBack documentation):
14:28:48.835 [btpool0-7] INFO c.q.l.demo.prime.PrimeAction - 99 is not a valid value
java.lang.Exception: 99 is invalid
at ch.qos.logback.demo.prime.PrimeAction.execute(PrimeAction.java:28) [classes/:na]
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
[struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
[struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
[struts-1.2.9.jar:1.2.9]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
[servlet-api-2.5-6.1.12.jar:6.1.12]
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
[jetty-6.1.12.jar:6.1.12]
at ch.qos.logback.demo.UserServletFilter.doFilter(UserServletFilter.java:44)
[classes/:na]
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
[jetty-6.1.12.jar:6.1.12]
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
[jetty-6.1.12.jar:6.1.12]
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
[jetty-6.1.12.jar:6.1.12]
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
[jetty-6.1.12.jar:6.1.12]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: