diff options
author | Erik Johnston <erik@matrix.org> | 2016-09-08 13:40:46 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-09-08 13:40:46 +0100 |
commit | 61cd9af09bc66f29d6a740f445047624d48fda8c (patch) | |
tree | d4102fe1fad09a6d3bcbbfc708662d1e9b4a5b09 /synapse/storage | |
parent | Merge pull request #1079 from matrix-org/erikj/state_seqscan (diff) | |
download | synapse-61cd9af09bc66f29d6a740f445047624d48fda8c.tar.xz |
Log delta files we're applying
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/prepare_database.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/prepare_database.py b/synapse/storage/prepare_database.py index b1fbc4ffa5..7efbe51cda 100644 --- a/synapse/storage/prepare_database.py +++ b/synapse/storage/prepare_database.py @@ -242,7 +242,7 @@ def _upgrade_existing_database(cur, current_version, applied_delta_files, module = imp.load_source( module_name, absolute_path, python_file ) - logger.debug("Running script %s", relative_path) + logger.info("Running script %s", relative_path) module.run_create(cur, database_engine) if not is_empty: module.run_upgrade(cur, database_engine, config=config) @@ -253,7 +253,7 @@ def _upgrade_existing_database(cur, current_version, applied_delta_files, pass elif ext == ".sql": # A plain old .sql file, just read and execute it - logger.debug("Applying schema %s", relative_path) + logger.info("Applying schema %s", relative_path) executescript(cur, absolute_path) else: # Not a valid delta file. |