A record of the transactions of the department of correction shall be kept by the commissioner, or under the commissioner's direction by the secretary.