I'm using an email appender in log4j (org.apache.log4j.net.SMTPAppender) for 
logging exception to an email address. 
Basically I want to log only exceptions coming from log.error() calls in code.
But jboss (hibernate) log some exceptions 
(org.hibernate.util.JDBCExceptionReporter) in error log level.
So in log file I have some entry coming from hibernate even if I catch 
corresponding exceptions and manage them properly.
Those cause unnecessary error mails to be notified.
Is there a way to avoid hibernate to log errors in log4j error level?
Many thanks
philip

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165587#4165587

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165587
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to