def METHOD_NAME(self):
    self.log_by_process = collections.defaultdict(list)
    self.process_info = {}
    self.clear()
    self.beginResetModel()
    if self.dbcon:
        result = self.dbcon.find({})
        for item in result:
            process_id = item.get("process_id")
            # backwards (in)compatibility
            if not process_id:
                continue
            if process_id not in self.process_info:
                proc_dict = {"_logs": []}
                for key in self.process_keys:
                    proc_dict[key] = (
                        item.get(key) or self.default_value
                    )
                self.process_info[process_id] = proc_dict
            log_item = {}
            for key in self.log_keys:
                log_item[key] = item.get(key) or self.default_value
            if "exception" in item:
                log_item["exception"] = item["exception"]
            self.process_info[process_id]["_logs"].append(log_item)
    for item in self.process_info.values():
        item["_logs"] = sorted(
            item["_logs"], key=lambda item: item["timestamp"]
        )
        item["started"] = item["_logs"][0]["timestamp"]
        self.add_process_logs(item)
    self.endResetModel()