From 4642fd66df510d6639ba66891ad2ae22564b3591 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 17 Jul 2020 12:10:43 +0100 Subject: Change "unknown room ver" logging to warning. (#7881) It's somewhat expected for us to have unknown room versions in the database due to room version experiments. --- changelog.d/7881.misc | 1 + synapse/storage/data_stores/main/events_worker.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/7881.misc 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"], -- cgit 1.4.1