Expose log_name_per_daemon configurable
Add the log_name_per_daemon parameter to the all class so that this parameter can be customized via the simplified definition. Change-Id: I34989778f607db869d7acd1787682f5a8c97be5b
This commit is contained in:
@@ -43,6 +43,11 @@
|
|||||||
# (optional) Log level.
|
# (optional) Log level.
|
||||||
# Defaults to 'INFO'.
|
# Defaults to 'INFO'.
|
||||||
#
|
#
|
||||||
|
# [*log_name_per_daemon*]
|
||||||
|
# (optional) Set log_name according differently for each daemon
|
||||||
|
# For example: container-replicator, contaier-sharder, etc.
|
||||||
|
# Defaults to false.
|
||||||
|
#
|
||||||
# [*log_udp_host*]
|
# [*log_udp_host*]
|
||||||
# (optional) If not set, the UDP receiver for syslog is disabled.
|
# (optional) If not set, the UDP receiver for syslog is disabled.
|
||||||
# Defaults to undef.
|
# Defaults to undef.
|
||||||
@@ -147,6 +152,7 @@ class swift::storage::all(
|
|||||||
$mount_check = true,
|
$mount_check = true,
|
||||||
$log_facility = 'LOG_LOCAL2',
|
$log_facility = 'LOG_LOCAL2',
|
||||||
$log_level = 'INFO',
|
$log_level = 'INFO',
|
||||||
|
Boolean $log_name_per_daemon = false,
|
||||||
$log_udp_host = undef,
|
$log_udp_host = undef,
|
||||||
$log_udp_port = undef,
|
$log_udp_port = undef,
|
||||||
$log_requests = true,
|
$log_requests = true,
|
||||||
@@ -202,6 +208,7 @@ from 6002 to 6202 and will be changed in a later release")
|
|||||||
storage_local_net_ip => $storage_local_net_ip,
|
storage_local_net_ip => $storage_local_net_ip,
|
||||||
mount_check => $mount_check,
|
mount_check => $mount_check,
|
||||||
log_level => $log_level,
|
log_level => $log_level,
|
||||||
|
log_name_per_daemon => $log_name_per_daemon,
|
||||||
log_facility => $log_facility,
|
log_facility => $log_facility,
|
||||||
log_udp_host => $log_udp_host,
|
log_udp_host => $log_udp_host,
|
||||||
log_udp_port => $log_udp_port,
|
log_udp_port => $log_udp_port,
|
||||||
|
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
The new ``log_name_per_daemon`` parameter has been added to
|
||||||
|
the ``swift::storage::all`` class.
|
Reference in New Issue
Block a user