I'm being overwhelmed by the huge stack traces that are put into the "faultDetail" field of AxisFault by default. My log file is 10x the size it should be with all those stack traces taking up space. Is there something I can put in my log4j.properties file to exclude this junk?

There was a reply on the list not so long ago that suggested subclassing AxisFault and throwing that instead of a normal exception. I've tried that, but can't figure out how to get rid of the faultDetails. I've tried putting "setFaultDetail(null);" and "setFaultDetailString("");" in the subclass's constructor, but that didn't seem to make any difference at all. The API docs on these methods are all but silent. Can anyone point me in the right direction, or will I just have to learn to put up with overly-verbose stack traces?

Cheers,
-Josh Emmons



Reply via email to