diff options
| author | Frederick Muriuki Muriithi | 2025-10-27 04:51:43 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2025-10-27 04:51:43 -0500 |
| commit | 019282e64fb401f7a6823f3c8914d1d6e5ad0233 (patch) | |
| tree | 20b4ad645a15eabf8de89f4f8e35eb533a694490 /gn3/app.py | |
| parent | 8fd92f3c72da4de1aa1a912954df36ebdfa46079 (diff) | |
| download | genenetwork3-019282e64fb401f7a6823f3c8914d1d6e5ad0233.tar.gz | |
Enable logging in `gn3.db.menu` module.
Diffstat (limited to 'gn3/app.py')
| -rw-r--r-- | gn3/app.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gn3/app.py b/gn3/app.py index 0868f3a..9a4269c 100644 --- a/gn3/app.py +++ b/gn3/app.py @@ -85,7 +85,8 @@ def create_app(config: Union[Dict, str, None] = None) -> Flask: # END: SECRETS verify_app_config(app) setup_app_logging(app) - setup_modules_logging(loglevel(app), ("gn_libs.mysqldb",)) + setup_modules_logging(loglevel(app), ("gn3.db.menu", + "gn_libs.mysqldb")) # DO NOT log anything before this point logging.info("Guix Profile: '%s'.", os.environ.get("GUIX_PROFILE")) logging.info("Python Executable: '%s'.", sys.executable) |
