Enable on-screen logging for create_db.py and manage_db.py

This commit is contained in:
Nicola Soranzo
2019-08-18 11:17:34 +01:00
parent 6de82ed531
commit d5633f6285
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -15,6 +15,7 @@ database will be constructed.
.. seealso: galaxy.ini, specifically the settings: database_connection and
database file
"""
import logging
import os.path
import sys
@@ -25,6 +26,9 @@ from galaxy.model.orm.scripts import get_config
from galaxy.model.tool_shed_install.migrate.check import create_or_verify_database as create_install_db
from galaxy.webapps.tool_shed.model.migrate.check import create_or_verify_database as create_tool_shed_db
logging.basicConfig(level=logging.DEBUG)
log = logging.getLogger(__name__)
def invoke_create():
config = get_config(sys.argv)