docs for saving logs