clean up exception logging