aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/dash/app/pal/utils/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/dash/app/pal/utils/constants.py')
-rw-r--r--resources/tools/dash/app/pal/utils/constants.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/resources/tools/dash/app/pal/utils/constants.py b/resources/tools/dash/app/pal/utils/constants.py
index b95a8f5456..1f31185f71 100644
--- a/resources/tools/dash/app/pal/utils/constants.py
+++ b/resources/tools/dash/app/pal/utils/constants.py
@@ -17,7 +17,7 @@
does not need to be hard coded here, but can be read from environment variables.
"""
-
+import logging
import dash_bootstrap_components as dbc
from dash import html
@@ -30,6 +30,11 @@ class Constants:
############################################################################
# General, application wide constants.
+ # Logging settings.
+ LOG_LEVEL = logging.INFO
+ LOG_FORMAT = "%(asctime)s: %(levelname)s: %(message)s"
+ LOG_DATE_FORMAT = "%Y/%m/%d %H:%M:%S"
+
# The application title.
TITLE = "FD.io CSIT"
@@ -256,6 +261,9 @@ class Constants:
# Time period for regressions and progressions.
NEWS_TIME_PERIOD = TIME_PERIOD # [days]
+ # Time period for summary tables.
+ NEWS_SUMMARY_PERIOD = 7 # [days]
+
############################################################################
# Report.