prepare last access log