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

Commit

Permalink
Fix "Unexpected entry in 'full_schemas'" log warning (#5509)
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Feb 13, 2020
2 parents f690571 + 0e8b35f commit 071b7eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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

0 comments on commit 071b7eb

Please sign in to comment.