debug log is added to set recordsPath