'Clear the stdout and stderr logs for the named process and
reopen them.
@param string name   The name of the process (or \'group:name\')
@return boolean result      Always True unless error'

def clearProcessLogs(self, name):

    self._update('clearProcessLogs')
    (group, process) = self._getGroupAndProcess(name)
    if (process is None):
        raise RPCError(Faults.BAD_NAME, name)
    try:
        process.removelogs()
    except (IOError, OSError):
        raise RPCError(Faults.FAILED, name)
    return True
