My feeling is if the AxisFault is simply wrapping the Exception, then a debug (or no message) is sufficient.
If the AxisFault is not wrapping the message, then the code should log an info or more severe message so that the original exception is preserved.
Does that make sense?
Rich Scheuerle
XML & Web Services Development
512-838-5115 (IBM TL 678-5115)
Russell Butek/Austin/IBM@IBMUS
05/10/2002 10:42 AM
|
To: [EMAIL PROTECTED] cc: Subject: logging question: catch (Exception) throw AxisFault |
Various places in the code are of the form
} catch (Exception e) {
log.xxx(... e);
throw new AxisFault(...);
}
In some places xxx is debug, others it is info. I contend that it should
always be debug. When it's info, then the build's output contains stack
dumps that make reading the output a nuisance. (These outputs weren't
there in the past.)
Russell Butek
[EMAIL PROTECTED]