(a) The county board of election commissioners shall produce an audit log for each voting machine used in the election.
(b) In the event that there is an election contest filed, the judge of the court that has jurisdiction may order the county board of election commissioners to secure the audit logs and the voter-verified paper audit trail alleged in the contest to be in question. The county board of election commissioners shall store them in a secure place in the county courthouse under lock and key awaiting further orders of the court.
(c) In the event that any candidate in any election in which the machines have been utilized or any voter who questions the count of any question posed at any election gives written notice to the county board of election commissioners that he or she desires a recount, then the applicable county board of election commissioners shall secure the audit logs and voter-verified paper audit trails and store them in a secure place in the county courthouse awaiting further orders of the applicable county board of election commissioners or court.