pub fn rotate(
audit_path: impl AsRef<Path>,
secret_file: Option<&Path>,
) -> Result<()>Expand description
Force-rotate the audit log at audit_path. The active file is
renamed to a timestamped sibling and a fresh file is opened. The
chain id sidecar is moved alongside.