diff options
author | Erik Johnston <erik@matrix.org> | 2020-07-17 12:10:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-17 12:10:43 +0100 |
commit | 4642fd66df510d6639ba66891ad2ae22564b3591 (patch) | |
tree | 16b26f41ad146aa1f5ca6a84e11447a6ae998a2d | |
parent | Convert device handler to async/await (#7871) (diff) | |
download | synapse-4642fd66df510d6639ba66891ad2ae22564b3591.tar.xz |
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.
-rw-r--r-- | changelog.d/7881.misc | 1 | ||||
-rw-r--r-- | synapse/storage/data_stores/main/events_worker.py | 2 |
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"], |