logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Skeet" <jon.sk...@peramon.com>
Subject RE: Logging Exceptions
Date Wed, 05 Sep 2001 12:19:58 GMT
> I'm afraid you'd still have to make the choice in coding 
> simply because
> you may not want to log some exceptions, but may want to log others. I
> could see your point though if you were advocating configuring the
> logging of exceptions on a class-by-class bases.
> 
> For example you may want to enable logging for java.sql.SQLException,
> but disable it for java.lang.ClassCastException. Is this what you had
> in mind?

Note - this is something that would be possible if my suggestions in the
Dev mailing list about having ThrowableRenderers (or whatever) and being
able to configure renderers get taken up :)

Jon



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Mime
View raw message