Returns a basic dictionary for logging
        @param action: the action taken by the redis monitor
        @param spiderid: the spider id
        @param appid: the application id
        @param uuid: a unique id of the request
        @param crawlid: a unique crawl id of the request

def get_log_dict(self, action, appid, spiderid=None, uuid=None,
                     crawlid=None):
        '''
        Returns a basic dictionary for logging
        @param action: the action taken by the redis monitor
        @param spiderid: the spider id
        @param appid: the application id
        @param uuid: a unique id of the request
        @param crawlid: a unique crawl id of the request
        '''
        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