Add a check for an archived log before overwriting