Log runtime Exceptions in Java using log4j
I’m not sure if this is what you are looking for, but there is a handler for exceptions that terminate threads. It is a handler for any exception that is not caught explicitly by the target of the thread. The default “uncaught exception handler” simply calls printStackTrace() on the Throwable to print the stack trace … Read more