2c33f9fb5e
Closes-Bug: #1965970 Change-Id: Ie866b35306cadb5e7dad53b0c05c84023c134c3b
41 lines
987 B
Plaintext
41 lines
987 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,
|
|
}
|
|
})
|