aboutsummaryrefslogtreecommitdiffstats
path: root/src/environments/environment.prod.ts
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-03-27 13:15:13 +0100
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-03-27 13:15:13 +0100
commita1ac8b74efe5c65ba1514f3e5fd4bb8bec690fd1 (patch)
treeb2306f3674d51149ab547eed288f8dc32d6d4912 /src/environments/environment.prod.ts
parent5e149c7ae0124460d3024430f1c0bdc94c74f56e (diff)
Make ui logging configurable
- introduce LOGGING_ENABLED environment variable that can be set to enable the ui logging Issue-ID: PORTALNG-81 Change-Id: Icb540020bf18e030e3b02fa27f66eb5982a2bf31 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'src/environments/environment.prod.ts')
-rw-r--r--src/environments/environment.prod.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts
index ae20693..9a14f80 100644
--- a/src/environments/environment.prod.ts
+++ b/src/environments/environment.prod.ts
@@ -42,5 +42,5 @@ export const environment: Environment = {
dateTimeFormat: 'dd/MM/yyyy HH:mm:ss',
loggingUrl: window.location.origin + '/onap_logging',
supportUrlLink: 'https://wiki.onap.org/',
- loggingEnabled: true
+ loggingEnabled: window["env"]["loggingEnabled"] || false,
};