log enhancement