Added log output for record.