Added logging to the scraper