def log_path(scraper):
    """ Determine the file name for the JSON log. """
    return os.path.join(scraper.config.data_path,
                        '%s.jsonlog' % scraper.name)
dataset/ETHPy150Open pudo/scrapekit/scrapekit/logs.py/log_path/original