Merge pull request #665 from dod-ccpo/turn-on-sql-logging

Turn on Logging for SQLAlchemy
This commit is contained in:
montana-mil 2019-02-20 12:17:09 -05:00 committed by GitHub
commit e1eaa90980
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,6 +132,7 @@ def map_config(config):
**config["default"],
"ENV": config["default"]["ENVIRONMENT"],
"DEBUG": config["default"].getboolean("DEBUG"),
"SQLALCHEMY_ECHO": config["default"].getboolean("DEBUG"),
"CLASSIFIED": config["default"].getboolean("CLASSIFIED"),
"PORT": int(config["default"]["PORT"]),
"SQLALCHEMY_DATABASE_URI": config["default"]["DATABASE_URI"],