Add a filter to the logging console handler to simplify exception text.