Fix log dowloading.