def get_log_dict(self, action, appid, spiderid=None, uuid=None,
                     crawlid=None):
        extras = {}
        extras['action'] = action
        extras['appid'] = appid
        if spiderid is not None:
            extras['spiderid'] = spiderid
        if uuid is not None:
            extras['uuid'] = uuid
        if crawlid is not None:
            extras['crawlid'] = crawlid

        return extras
Returns a basic dictionary for logging
dataset/ETHPy150Open istresearch/scrapy-cluster/redis-monitor/plugins/base_monitor.py/BaseMonitor.get_log_dict