Merge "Make Swift log_level changeable"
This commit is contained in:
commit
34d424a3ee
@ -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
|
||||
####################
|
||||
|
@ -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]
|
||||
|
@ -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]
|
||||
|
@ -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]
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user