summaryrefslogtreecommitdiffstats
path: root/roles/etcd
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-03-28 19:23:17 -0500
committerGitHub <noreply@github.com>2017-03-28 19:23:17 -0500
commit1579cfed66e56af061fb3f761e50971daecba7f4 (patch)
treec78a1db06da7134d17766d794cee5c6d6e9d8be6 /roles/etcd
parent89f2e49cbe7f61fa8379343552ae9862f926bbfb (diff)
parentd47ea8839b55e78d12de71f0a1bd7746262d6d71 (diff)
downloadopenshift-1579cfed66e56af061fb3f761e50971daecba7f4.tar.gz
openshift-1579cfed66e56af061fb3f761e50971daecba7f4.tar.bz2
openshift-1579cfed66e56af061fb3f761e50971daecba7f4.tar.xz
openshift-1579cfed66e56af061fb3f761e50971daecba7f4.zip
Merge pull request #3782 from sdodson/etcd_debug
Merged by openshift-bot
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 %}