mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
Enable on-screen logging for create_db.py and manage_db.py
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user