Added global exception logger.