Logging in scraper.py