summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/7881.misc1
-rw-r--r--synapse/storage/data_stores/main/events_worker.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/7881.misc b/changelog.d/7881.misc
new file mode 100644
index 0000000000..6799117099
--- /dev/null
+++ b/changelog.d/7881.misc
@@ -0,0 +1 @@
+Change "unknown room version" logging from 'error' to 'warning'.
diff --git a/synapse/storage/data_stores/main/events_worker.py b/synapse/storage/data_stores/main/events_worker.py
index a7d685f630..e812c67078 100644
--- a/synapse/storage/data_stores/main/events_worker.py
+++ b/synapse/storage/data_stores/main/events_worker.py
@@ -639,7 +639,7 @@ class EventsWorkerStore(SQLBaseStore):
             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"],