[jboss-jira] [JBoss JIRA] Commented: (JBLOGGING-42) Include version information in stack traces
David Lloyd (JIRA)
jira-events at lists.jboss.org
Mon Apr 5 19:47:37 EDT 2010
[ https://jira.jboss.org/jira/browse/JBLOGGING-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12523865#action_12523865 ]
David Lloyd commented on JBLOGGING-42:
--------------------------------------
More info:
http://macstrac.blogspot.com/2008/09/better-stack-traces-in-java-with-log4j.html
https://issues.apache.org/bugzilla/show_bug.cgi?id=45721
> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list