archiving the logs