'Execute the task in a :func:`~celery.app.trace.trace_task`.
Arguments:
loglevel (int): The loglevel used by the task.
logfile (str): The logfile used by the task.'

def execute(self, loglevel=None, logfile=None):

    if self.revoked():
        return
    if (not self.task.acks_late):
        self.acknowledge()
    request = self.request_dict
    (args, kwargs, embed) = self._payload
    request.update({u'loglevel': loglevel, u'logfile': logfile, u'hostname': self.hostname, u'is_eager': False, u'args': args, u'kwargs': kwargs}, **(embed or {}))
    retval = trace_task(self.task, self.id, args, kwargs, request, hostname=self.hostname, loader=self.app.loader, app=self.app)[0]
    self.acknowledge()
    return retval
