diff options
author | Frederick Muriuki Muriithi | 2023-06-05 05:51:02 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-06-05 05:51:02 +0300 |
commit | 439eb22f75c402bc91efb8cd37cb4e67f2fc09ca (patch) | |
tree | bdc6d1209baeddbbda378b111e2001c9f48c79f4 /gn3/app.py | |
parent | aeb68d06bcea6435b8312c8bf6d59b2be9cb6dc9 (diff) | |
download | genenetwork3-439eb22f75c402bc91efb8cd37cb4e67f2fc09ca.tar.gz |
Logging: Get guix profile information if present.
Useful for debugging issues within the guix containers.
Diffstat (limited to 'gn3/app.py')
-rw-r--r-- | gn3/app.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -46,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"Guix Profile: {os.environ.get('GUIX_PROFILE')}.") app.logger.info(f"Python Executable: '{sys.executable}'.") CORS( |