[jboss-jira] [JBoss JIRA] Closed: (JBLOGGING-42) Include version information in stack traces

David Lloyd (JIRA) jira-events at lists.jboss.org
Mon Apr 5 21:25:39 EDT 2010


     [ https://jira.jboss.org/jira/browse/JBLOGGING-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd closed JBLOGGING-42.
--------------------------------

    Resolution: Done


Done.  Added the following format conversions:

%s = simple log message (like %m but without the stack trace)
%e = regular stack trace
%E = extended info stack trace


> 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