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

Fix "Unexpected entry in 'full_schemas'" log warning #5509

Merged
merged 1 commit into from
Jun 21, 2019
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/5509.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix "Unexpected entry in 'full_schemas'" log warning.
2 changes: 1 addition & 1 deletion synapse/storage/prepare_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def _setup_new_database(cur, database_engine):
if ver <= SCHEMA_VERSION:
valid_dirs.append((ver, abs_path))
else:
logger.warn("Unexpected entry in 'full_schemas': %s", filename)
logger.debug("Ignoring entry '%s' in 'full_schemas'", filename)

if not valid_dirs:
raise PrepareDatabaseException(
Expand Down