summaryrefslogtreecommitdiffstats
path: root/roles/etcd
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-03-28 10:37:47 -0400
committerScott Dodson <sdodson@redhat.com>2017-03-28 13:56:21 -0400
commitd47ea8839b55e78d12de71f0a1bd7746262d6d71 (patch)
treecf76f2cf4568451eea3e42c74b2e7c19921b754b /roles/etcd
parente9a4e751bc28f43583087ce6502a36c5d83cf30d (diff)
downloadopenshift-d47ea8839b55e78d12de71f0a1bd7746262d6d71.tar.gz
openshift-d47ea8839b55e78d12de71f0a1bd7746262d6d71.tar.bz2
openshift-d47ea8839b55e78d12de71f0a1bd7746262d6d71.tar.xz
openshift-d47ea8839b55e78d12de71f0a1bd7746262d6d71.zip
Add etcd_debug and etcd_log_package_levels variables
Diffstat (limited to 'roles/etcd')
-rw-r--r--roles/etcd/templates/etcd.conf.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/etcd/templates/etcd.conf.j2 b/roles/etcd/templates/etcd.conf.j2
index 990a86c21..9151dd0bd 100644
--- a/roles/etcd/templates/etcd.conf.j2
+++ b/roles/etcd/templates/etcd.conf.j2
@@ -60,3 +60,9 @@ ETCD_PEER_CA_FILE={{ etcd_peer_ca_file }}
ETCD_PEER_CERT_FILE={{ etcd_peer_cert_file }}
ETCD_PEER_KEY_FILE={{ etcd_peer_key_file }}
{% endif -%}
+
+#[logging]
+ETCD_DEBUG="{{ etcd_debug | default(false) | string }}"
+{% if etcd_log_package_levels is defined %}
+ETCD_LOG_PACKAGE_LEVELS="{{ etcd_log_package_levels }}"
+{% endif %}