'Clear all process log files
@return array result   An array of process status info structs'

def clearAllProcessLogs(self):

    self._update('clearAllProcessLogs')
    results = []
    callbacks = []
    all_processes = self._getAllProcesses()
    for (group, process) in all_processes:
        callbacks.append((group, process, self.clearProcessLog))
    def clearall():
        if (not callbacks):
            return results
        (group, process, callback) = callbacks.pop(0)
        name = make_namespec(group.config.name, process.config.name)
        try:
            callback(name)
        except RPCError as e:
            results.append({'name': process.config.name, 'group': group.config.name, 'status': e.code, 'description': e.text})
        else:
            results.append({'name': process.config.name, 'group': group.config.name, 'status': Faults.SUCCESS, 'description': 'OK'})
        if callbacks:
            return NOT_DONE_YET
        return results
    clearall.delay = 0.05
    clearall.rpcinterface = self
    return clearall
