diff options
author | Tibor Frank <tifrank@cisco.com> | 2022-08-19 14:42:23 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2022-08-19 13:25:46 +0000 |
commit | 1efb9c180524bdb0bdccc612e182364821810fa5 (patch) | |
tree | 9f5e8c1b6fe238ffef09118d037e2f60190a3fac /resources/tools/dash/app/pal/utils/constants.py | |
parent | ed0473f9ac01522470fb8a2260720214b72ca47f (diff) |
UTI: Add Summary to News
Change-Id: Ifa3882b36976183f628d2e3171061945ab33bf29
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/dash/app/pal/utils/constants.py')
-rw-r--r-- | resources/tools/dash/app/pal/utils/constants.py | 10 |
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. |