[jbossts-issues] [JBoss JIRA] Closed: (JBTM-552) impvove printStackTrace logging

Jonathan Halliday (JIRA) jira-events at lists.jboss.org
Fri May 15 08:31:47 EDT 2009


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

Jonathan Halliday closed JBTM-552.
----------------------------------

    Resolution: Done


> impvove printStackTrace logging
> -------------------------------
>
>                 Key: JBTM-552
>                 URL: https://jira.jboss.org/jira/browse/JBTM-552
>             Project: JBoss Transaction Manager
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: JTA, JTS, Transaction Core
>    Affects Versions: 4.6.1
>            Reporter: Jonathan Halliday
>            Assignee: Jonathan Halliday
>             Fix For: 4.7.0
>
>
> In many exception handlers we generate an i18n log message and then call e.printStackTrace. This idiom should be replaced by using the i18n logger methods that take a Throwable parameter, which take care of doing the stack trace printing for you. This makes the log output cleaner and more configurable.

-- 
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 jbossts-issues mailing list