replace logs