N.Y. County Law § 659
The sheriff shall cause such records to be kept at the jail as may be required by law.