changed log to record path