enable etcd logging in local-e2e jobs

We are not saving the etcd logs and just redirecting the output
to /dev/null. In this change, we set ETCD_LOGFILE to the same
directory where we log other kube relates processes.

Change-Id: I719a941665b749b864f2efdcdfc7ddc7b2a61776
This commit is contained in:
Davanum Srinivas
2018-07-27 14:50:33 -04:00
parent 2ffbaa13d0
commit d98c21e912
2 changed files with 2 additions and 1 deletions

View File

@@ -445,6 +445,7 @@ function warning_log {
function start_etcd {
echo "Starting etcd"
ETCD_LOGFILE=${LOG_DIR}/etcd.log
kube::etcd::start
}