'Imported from the upstream \'default\' callback'

def _print_task_banner(self, task):

    args = ''
    if ((not task.no_log) and C.DISPLAY_ARGS_TO_STDOUT):
        args = ',    '.join((('%s=%s' % a) for a in task.args.items()))
        args = ('    %s' % args)
    self.banner((u'TASK    [%s%s]' % (task.get_name().strip(), args)))
    if (self._display.verbosity >= 2):
        path = task.get_path()
        if path:
            self._display.display((u'task    path:    %s' % path), color=C.COLOR_DEBUG, log_only=True)
    self._last_task_banner = task._uuid
