axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Sitze" <rsi...@us.ibm.com>
Subject RE: logging question: catch (Exception) throw AxisFault
Date Mon, 13 May 2002 14:22:00 GMT
If exceptions are in fact exceptional (rare), then is (1) really an issue?

*******************************************
Richard A. Sitze            rsitze@us.ibm.com
CORBA Interoperability & WebServices
IBM WebSphere Development


                                                                                         
                          
                      Glyn                                                               
                          
                      Normington/UK/IB         To:      axis-dev@xml.apache.org          
                          
                      M@IBMGB                  cc:                                       
                          
                                               Subject: RE: logging question: catch (Exception)
throw AxisFault     
                      05/13/2002 03:38                                                   
                          
                      AM                                                                 
                          
                      Please respond                                                     
                          
                      to axis-dev                                                        
                          
                                                                                         
                          
                                                                                         
                          





Two valid requirements have been mentioned and need to be reconciled:

1. The need to avoid flooding the console log with debug-related messages.

2. The need to avoid losing potentially critical debugging information when
an exception occurs (especially if the exception is not wrapped and
re-thrown).

One way to reconcile them is to send debug information (stack trace etc.)
to a separate log (which could reside by default in a file) so that just
the occurrence of a failure need be indicated on the console log.

Glyn





Mime
View raw message