summaryrefslogtreecommitdiffstats
path: root/templates/ui
diff options
context:
space:
mode:
authorHonza Pokorny <honza@redhat.com>2017-09-11 14:53:41 -0300
committerHonza Pokorny <honza@redhat.com>2017-10-06 09:20:18 +0000
commitfb0f290777c2f17ebd1d558805be06fe65f1c331 (patch)
tree75e42aa7ec3359157c7d9c11eec0ea4c4773d450 /templates/ui
parent67e1e603a6b81e7532eb2cac2e27eec1ea413d32 (diff)
Add a new configuration option for GUI loggers
This allows us to set up logging for the TripleO GUI. By default, it enables the 'console' and 'zaqar' loggers. Change-Id: Iafc874643c29e63ff670831fe80f6601c3051865 Closes-Bug: #1716458 (cherry picked from commit 5158c7ab1669d9d3e8c8163be9fdfc9b3a3aea96)
Diffstat (limited to 'templates/ui')
-rw-r--r--templates/ui/tripleo_ui_config.js.erb3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/ui/tripleo_ui_config.js.erb b/templates/ui/tripleo_ui_config.js.erb
index 613042b..10e7279 100644
--- a/templates/ui/tripleo_ui_config.js.erb
+++ b/templates/ui/tripleo_ui_config.js.erb
@@ -22,7 +22,6 @@ window.tripleOUiConfig = {
//
'excludedLanguages': <%= @excluded_languages.to_json %>,
-
// Logging
- // 'loggers': ['console']
+ 'loggers': <%= @enabled_loggers.to_json %>
};