Merge "Add a new configuration option for GUI loggers"

This commit is contained in:
Jenkins 2017-10-05 20:46:42 +00:00 committed by Gerrit Code Review
commit 5e54b7e635
2 changed files with 6 additions and 2 deletions

View File

@ -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': }

View File

@ -22,7 +22,6 @@ window.tripleOUiConfig = {
//
'excludedLanguages': <%= @excluded_languages.to_json %>,
// Logging
// 'loggers': ['console']
'loggers': <%= @enabled_loggers.to_json %>
};