Merge "Use specific log name for independent daemons"
This commit is contained in:
commit
275d6a2ffe
@ -89,11 +89,11 @@
|
||||
#
|
||||
# [*log_name*]
|
||||
# (optional) Log name.
|
||||
# Defaults to $facts['os_service_default'].
|
||||
# Defaults to 'container-reconciler'.
|
||||
#
|
||||
# [*log_level*]
|
||||
# (optional) Log level.
|
||||
# Defaults to $facts['os_service_default'].
|
||||
# Defaults to 'INFO'.
|
||||
#
|
||||
# [*log_facility*]
|
||||
# (optional) Log level
|
||||
@ -129,7 +129,7 @@ class swift::containerreconciler(
|
||||
$cache_tls_cafile = $facts['os_service_default'],
|
||||
$cache_tls_certfile = $facts['os_service_default'],
|
||||
$cache_tls_keyfile = $facts['os_service_default'],
|
||||
$log_name = $facts['os_service_default'],
|
||||
$log_name = 'container-reconciler',
|
||||
$log_level = 'INFO',
|
||||
$log_facility = 'LOG_LOCAL2',
|
||||
$log_address = '/dev/log',
|
||||
|
@ -95,7 +95,7 @@
|
||||
#
|
||||
# [*log_name*]
|
||||
# (optional) Log name.
|
||||
# Defaults to $facts['os_service_default'].
|
||||
# Defaults to 'object-expirer'.
|
||||
#
|
||||
# [*log_level*]
|
||||
# (optional) Log level.
|
||||
@ -137,7 +137,7 @@ class swift::objectexpirer(
|
||||
$cache_tls_cafile = $facts['os_service_default'],
|
||||
$cache_tls_certfile = $facts['os_service_default'],
|
||||
$cache_tls_keyfile = $facts['os_service_default'],
|
||||
$log_name = $facts['os_service_default'],
|
||||
$log_name = 'object-expirer',
|
||||
$log_level = 'INFO',
|
||||
$log_facility = 'LOG_LOCAL2',
|
||||
$log_address = '/dev/log',
|
||||
|
@ -35,7 +35,7 @@ describe 'swift::containerreconciler' do
|
||||
is_expected.to contain_swift_container_reconciler_config(
|
||||
'container-reconciler/request_tries').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_swift_container_reconciler_config(
|
||||
'container-reconciler/log_name').with_value('<SERVICE DEFAULT>')
|
||||
'container-reconciler/log_name').with_value('container-reconciler')
|
||||
is_expected.to contain_swift_container_reconciler_config(
|
||||
'container-reconciler/log_level').with_value('INFO')
|
||||
is_expected.to contain_swift_container_reconciler_config(
|
||||
|
@ -39,7 +39,7 @@ describe 'swift::objectexpirer' do
|
||||
is_expected.to contain_swift_object_expirer_config(
|
||||
'object-expirer/report_interval').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_swift_object_expirer_config(
|
||||
'object-expirer/log_name').with_value('<SERVICE DEFAULT>')
|
||||
'object-expirer/log_name').with_value('object-expirer')
|
||||
is_expected.to contain_swift_object_expirer_config(
|
||||
'object-expirer/log_level').with_value('INFO')
|
||||
is_expected.to contain_swift_object_expirer_config(
|
||||
|
Loading…
x
Reference in New Issue
Block a user