Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Change "unknown room ver" logging to warning. #7881

Merged
merged 2 commits into from
Jul 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/7881.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Change "unknown room version" logging from 'error' to 'warning'.
2 changes: 1 addition & 1 deletion synapse/storage/data_stores/main/events_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ def _get_events_from_db(self, event_ids, allow_rejected=False):
else:
room_version = KNOWN_ROOM_VERSIONS.get(room_version_id)
if not room_version:
logger.error(
logger.warning(
"Event %s in room %s has unknown room version %s",
event_id,
d["room_id"],
Expand Down