puppet-swift/templates/container-server.conf.erb
Aleksandr Didenko a2cae16d31 Allow to customize log_name for services
This patch allows us to customize log_name for:
- proxy-server
- container-server
- object-server
- account-server

Which may be usefull for log collecting/parsing. Defaults remain
as they were before the patch.

Change-Id: I173652ec5bbe8d4382e10db4510d91aebceacab5
2014-10-14 21:14:37 +03:00

32 lines
818 B
Plaintext

[DEFAULT]
devices = <%= @devices %>
bind_ip = <%= @storage_local_net_ip %>
bind_port = <%= @bind_port %>
mount_check = <%= @mount_check %>
user = <%= @user %>
log_facility = <%= @log_facility %>
workers = <%= @workers %>
allowed_sync_hosts = <%= scope.lookupvar("swift::storage::container::allowed_sync_hosts").to_a.join(',') %>
[pipeline:main]
pipeline = <%= @pipeline.to_a.join(' ') %>
[app:container-server]
allow_versions = <%= @allow_versions %>
use = egg:swift#container
set log_name = <%= @log_name %>
set log_facility = <%= @log_facility %>
set log_level = <%= @log_level %>
set log_requests = True
set log_address = <%= @log_address %>
[container-replicator]
concurrency = <%= @replicator_concurrency %>
[container-updater]
concurrency = <%= @updater_concurrency %>
[container-auditor]
[container-sync]