aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/app/cdash/__init__.py
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2022-11-11 11:57:26 +0100
committerPeter Mikus <peter.mikus@protonmail.ch>2022-11-14 12:06:22 +0000
commitabbc3a9aac22427a50c45adddf4307bab6d8a3ef (patch)
tree7e5f31cdd7b50fdb075d892811152e55375f05d9 /csit.infra.dash/app/cdash/__init__.py
parent8cddfb3bfd02675b78f7c71cb88900ca1d6460b1 (diff)
feat(cdash): Environement fixes
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I6bdb30c7313b909fe29e10b20bd21957433bda87
Diffstat (limited to 'csit.infra.dash/app/cdash/__init__.py')
-rw-r--r--csit.infra.dash/app/cdash/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/csit.infra.dash/app/cdash/__init__.py b/csit.infra.dash/app/cdash/__init__.py
index 20023ec157..b315950d5b 100644
--- a/csit.infra.dash/app/cdash/__init__.py
+++ b/csit.infra.dash/app/cdash/__init__.py
@@ -31,9 +31,8 @@ def init_app():
level=C.LOG_LEVEL
)
- logging.info("Application started.")
-
app = Flask(__name__, instance_relative_config=False)
+ app.logger.info("Application started.")
app.config.from_object("config.Config")
with app.app_context():