Skip to content

Commit

Permalink
log openeo_aggregator version from create_app
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Sep 20, 2023
1 parent 2ed0896 commit d057d00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/openeo_aggregator/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
)
from openeo_driver.utils import smart_bool

import openeo_aggregator.about
from openeo_aggregator.backend import (
AggregatorBackendImplementation,
MultiBackendConnection,
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit d057d00

Please sign in to comment.