From 439eb22f75c402bc91efb8cd37cb4e67f2fc09ca Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 5 Jun 2023 05:51:02 +0300 Subject: Logging: Get guix profile information if present. Useful for debugging issues within the guix containers. --- gn3/app.py | 1 + 1 file changed, 1 insertion(+) (limited to 'gn3/app.py') diff --git a/gn3/app.py b/gn3/app.py index abc4e6b..b55b6ff 100644 --- a/gn3/app.py +++ b/gn3/app.py @@ -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( -- cgit v1.2.3