Add example logging setting

Change-Id: Ic6b2098afa2e3e383b36beb16d8099a6d7d7bc6d
This commit is contained in:
Takashi Kajinami 2021-06-06 07:44:54 +09:00
parent 7fb4bac2e8
commit cd1f06ace4

View File

@ -20,3 +20,17 @@ from django.conf import settings
settings.POLICY_FILES.update({ settings.POLICY_FILES.update({
'load-balancer': 'octavia_policy.yaml', 'load-balancer': 'octavia_policy.yaml',
}) })
# Sample
# settings.LOGGING['loggers'].update({
# 'openstack': {
# 'handlers': ['console'],
# 'level': 'DEBUG',
# 'propagate': False,
# }
# 'barbicanclient': {
# 'handlers': ['console'],
# 'level': 'DEBUG',
# 'propagate': False,
# }
# })