better logging on downloads