diff options
author | Frederick Muriuki Muriithi | 2023-06-05 05:37:07 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-06-05 05:37:07 +0300 |
commit | aeb68d06bcea6435b8312c8bf6d59b2be9cb6dc9 (patch) | |
tree | 828d40ae7e4341087d529031dd39f22f1ab1e20f | |
parent | e5daa1af349c28840bdcc026b8f66065f19c8b1b (diff) | |
download | genenetwork3-aeb68d06bcea6435b8312c8bf6d59b2be9cb6dc9.tar.gz |
Logging: Get info about python
This information is useful to assist with debugging issues within the guix
containers.
-rw-r--r-- | gn3/app.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,5 +1,6 @@ """Entry point from spinning up flask""" import os +import sys from typing import Dict from typing import Union @@ -45,6 +46,7 @@ def create_app(config: Union[Dict, str, None] = None) -> Flask: # DO NOT log anything before this point setup_app_handlers(app) + app.logger.info(f"Python Executable: '{sys.executable}'.") CORS( app, |