Re: Suppress specific Exception

2008-07-22 Thread Sergio
Thanks! I got it working the way you told me to do. Anyway, I found that is possible to use filters to accomplish the same thing, but you need to use a xml configuration file instead of properties file. Just for the records, here is what I did to suppress exceptions from my log file: public cl

RE: Suppress specific Exception

2008-07-21 Thread Scott Deboy
08 1:57 PM To: log4j-user@logging.apache.org Subject: Suppress specific Exception Hi, I have the annoying uncatchable ObjectNotFoundException from hibernate on my log with big stack traces. I want to completely suppress this exception from my log. I tried to find something about filters on Log

Re: Suppress specific Exception

2008-07-21 Thread Thorbjørn Ravn Andersen
Sergio skrev den 21-07-2008 22:57: Hi, I have the annoying uncatchable ObjectNotFoundException from hibernate on my log with big stack traces. I want to completely suppress this exception from my log. I tried to find something about filters on Log4J, but I think that is not the correct way t

Suppress specific Exception

2008-07-21 Thread Sergio
Hi, I have the annoying uncatchable ObjectNotFoundException from hibernate on my log with big stack traces. I want to completely suppress this exception from my log. I tried to find something about filters on Log4J, but I think that is not the correct way to do it. Any ideas on how I can supp