From d47ea8839b55e78d12de71f0a1bd7746262d6d71 Mon Sep 17 00:00:00 2001 From: Scott Dodson Date: Tue, 28 Mar 2017 10:37:47 -0400 Subject: Add etcd_debug and etcd_log_package_levels variables --- roles/etcd/templates/etcd.conf.j2 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'roles/etcd') 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 %} -- cgit v1.2.3