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

Jonathan Halliday (JIRA) jira-events at lists.jboss.org
Wed May 13 06:09:57 EDT 2009


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