add logging to scraper