error log enhancement