Only log when the customer is logged in so we have the customer id. Fix for downloaded_at datetime not being saved.