restore the logger for reportException