From d5859165654fc673e02902383c17281584349e51 Mon Sep 17 00:00:00 2001 From: Joe Topjian Date: Thu, 1 Nov 2012 09:28:26 -0600 Subject: [PATCH] Added logging support to proxy-server --- manifests/proxy.pp | 1 + templates/proxy-server.conf.erb | 1 + 2 files changed, 2 insertions(+) diff --git a/manifests/proxy.pp b/manifests/proxy.pp index 2d181694..d076699f 100644 --- a/manifests/proxy.pp +++ b/manifests/proxy.pp @@ -45,6 +45,7 @@ class swift::proxy( $workers = $::processorcount, $allow_account_management = true, $account_autocreate = true, + $log_level = 'INFO', $package_ensure = 'present' ) { diff --git a/templates/proxy-server.conf.erb b/templates/proxy-server.conf.erb index 4cded646..67799f36 100644 --- a/templates/proxy-server.conf.erb +++ b/templates/proxy-server.conf.erb @@ -7,6 +7,7 @@ bind_ip = <%= proxy_local_net_ip %> <% end %> workers = <%= workers %> user = swift +set log_level = <%= log_level %> [pipeline:main] pipeline = <%= pipeline.to_a.join(' ') %>