log config and exception handler edit