bccc7c467d
This fixes one missing comma in octavia dashboard configuration to fix the syntax error. Closes-Bug: #2015271 Change-Id: If896f922db09396415a095fb9a8062eca32a9d06
41 lines
989 B
Plaintext
41 lines
989 B
Plaintext
from django.conf import settings
|
|
|
|
|
|
settings.POLICY_FILES.update({
|
|
'load-balancer': '<%= @policy_file_real %>',
|
|
})
|
|
|
|
settings.DEFAULT_POLICY_FILES.update({
|
|
'load-balancer': 'default_policies/octavia.yaml',
|
|
})
|
|
|
|
# Sample
|
|
# settings.LOGGING['loggers'].update({
|
|
# 'openstack': {
|
|
# 'handlers': ['console'],
|
|
# 'level': 'DEBUG',
|
|
# 'propagate': False,
|
|
# },
|
|
# 'barbicanclient': {
|
|
# 'handlers': ['console'],
|
|
# 'level': 'DEBUG',
|
|
# 'propagate': False,
|
|
# }
|
|
# })
|
|
settings.LOGGING['loggers'].update({
|
|
'openstack': {
|
|
# 'handlers': ['console'],
|
|
'handlers': ['<%= @log_handlers.join("', '") %>'],
|
|
# level': 'DEBUG',
|
|
'level': '<%= @log_level %>',
|
|
'propagate': False,
|
|
},
|
|
'barbicanclient': {
|
|
# 'handlers': ['console'],
|
|
'handlers': ['<%= @log_handlers.join("', '") %>'],
|
|
# level': 'DEBUG',
|
|
'level': '<%= @log_level %>',
|
|
'propagate': False,
|
|
}
|
|
})
|