This content has been marked as final.
Show 2 replies
-
1. Re: Disable verbose exception logging
jamezp Nov 4, 2013 6:18 PM (in response to johannes.reuter)There really isn't a good way to do it unfortunately. A custom-handler would probably be your best bet. You could just extend the org.jboss.logmanager.handlers.PeriodicRotatingFileHandler to get the same benefits. You would just override the doPublish(ExtLogRecord) and check the ExtLogRecord.getThrown() to determine if it's loggable or not.
I did file an issue to create a filter for exceptions, but I haven't really thought it all the way through yet.
--
James R. Perkins
-
2. Re: Disable verbose exception logging
johannes.reuter Nov 5, 2013 3:39 AM (in response to jamezp)OK, thank you for your quick response.
I will use 2 log-files for now, I think it's the easiest way to do this.