From d057d000f7fca147af731e1f47ea4c81e9a41ca9 Mon Sep 17 00:00:00 2001 From: Stefaan Lippens Date: Wed, 20 Sep 2023 16:01:26 +0200 Subject: [PATCH] log openeo_aggregator version from create_app --- src/openeo_aggregator/app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/openeo_aggregator/app.py b/src/openeo_aggregator/app.py index b400a9f0..8839db34 100644 --- a/src/openeo_aggregator/app.py +++ b/src/openeo_aggregator/app.py @@ -15,6 +15,7 @@ ) from openeo_driver.utils import smart_bool +import openeo_aggregator.about from openeo_aggregator.backend import ( AggregatorBackendImplementation, MultiBackendConnection, @@ -50,6 +51,8 @@ def create_app(config: Any = None, auto_logging_setup: bool = True) -> flask.Fla context=LOGGING_CONTEXT_FLASK, )) + _log.info(f"create_app() with {openeo_aggregator.about.__version__=}") + os.environ.setdefault(ConfigGetter.OPENEO_BACKEND_CONFIG, str(get_config_dir() / "backend_config.py")) config: AggregatorConfig = get_config(config)