axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Sitze" <>
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  
CORBA Interoperability & WebServices
IBM WebSphere Development

                      Normington/UK/IB         To:          
                      M@IBMGB                  cc:                                       
                                               Subject: RE: logging question: catch (Exception)
throw AxisFault     
                      05/13/2002 03:38                                                   
                      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

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.


View raw message