Merge "Make Swift log_level changeable"

This commit is contained in:
Zuul 2018-07-03 07:24:58 +00:00 committed by Gerrit Code Review
commit 34d424a3ee
5 changed files with 6 additions and 4 deletions

View File

@ -31,6 +31,8 @@ swift_rsyncd_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ do
swift_rsyncd_tag: "{{ swift_tag }}"
swift_rsyncd_image_full: "{{ swift_rsyncd_image }}:{{ swift_rsyncd_tag }}"
swift_log_level: "{{ 'INFO' if openstack_logging_debug == 'False' else 'DEBUG'}}"
####################
# OpenStack
####################

View File

@ -7,7 +7,7 @@ log_udp_host = {{ syslog_server }}
log_udp_port = {{ syslog_udp_port }}
log_name = {{ service_name }}
log_facility = {{ syslog_swift_facility }}
log_level = INFO
log_level = {{ swift_log_level }}
workers = {{ openstack_service_workers }}
[pipeline:main]

View File

@ -7,7 +7,7 @@ log_udp_host = {{ syslog_server }}
log_udp_port = {{ syslog_udp_port }}
log_name = {{ service_name }}
log_facility = {{ syslog_swift_facility }}
log_level = INFO
log_level = {{ swift_log_level }}
workers = {{ openstack_service_workers }}
[pipeline:main]

View File

@ -8,7 +8,7 @@ log_udp_host = {{ syslog_server }}
log_udp_port = {{ syslog_udp_port }}
log_name = {{ service_name }}
log_facility = {{ syslog_swift_facility }}
log_level = INFO
log_level = {{ swift_log_level }}
workers = {{ openstack_service_workers }}
[pipeline:main]

View File

@ -6,7 +6,7 @@ log_udp_host = {{ syslog_server }}
log_udp_port = {{ syslog_udp_port }}
log_name = {{ service_name }}
log_facility = {{ syslog_swift_facility }}
log_level = INFO
log_level = {{ swift_log_level }}
workers = {{ openstack_service_workers }}
[pipeline:main]