[Smartfrog.org-JIRA] Created: (SFOS-22) Replace instances of Throwable.printstacktrace() with output to the local log

"Steve Loughran (JIRA)" <[email protected]> Tue, 17 Oct 2006 17:00:15 +0100 (BST)
Newsgroups gmane.comp.java.smartfrog.devel
Message-ID <30702244.1161100825904.JavaMail.tomcat@webapps-ext-br1.hpl.hp.com>
Replace instances of Throwable.printstacktrace() with output to the local log
-----------------------------------------------------------------------------

                 Key: SFOS-22
                 URL: http://jira.smartfrog.org/jira/browse/SFOS-22
             Project: SmartFrog
          Issue Type: Improvement
            Reporter: Steve Loughran
         Assigned To: Julio Guijarro


I think we ought to find those places that go Throwable.printStackTrace() and print out to the SFLog().

If you look at the usages of the method, there are a lot of them, both in the core and in components. Mostly rarely used exception handling clauses, but with output to System.err and not a log we are capturing, diagnostics may be lost.


Place where it should stay are
 -the logging code itself
 -anything that is handling exceptions raised during logging. I think there a single stack SFLog.logExceptionDuringLogging()  method would give us one place to control/breakpoint behaviour. 





-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.smartfrog.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642