aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--manifests/ui.pp5
-rw-r--r--templates/ui/tripleo_ui_config.js.erb3
2 files changed, 6 insertions, 2 deletions
diff --git a/manifests/ui.pp b/manifests/ui.pp
index cb1da21..3caaf9b 100644
--- a/manifests/ui.pp
+++ b/manifests/ui.pp
@@ -96,6 +96,10 @@
# A string.
# Defaults to 'tripleo'
#
+# [*enabled_loggers*]
+# List of enabled loggers
+# Defaults to ['console', 'zaqar']
+#
class tripleo::ui (
$servername = $::fqdn,
$bind_host = hiera('controller_host'),
@@ -116,6 +120,7 @@ class tripleo::ui (
$endpoint_config_ironic_inspector = undef,
$endpoint_config_mistral = undef,
$endpoint_config_swift = undef,
+ $enabled_loggers = ['console', 'zaqar'],
) {
package {'openstack-tripleo-ui': }
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 %>
};