Implement logging for leapfrog

Default logging could be used in leapfrog, into the leapfrog
folder, to help debugging.

Change-Id: Ief9c4d2b9e46e515850720e07a62d59d561a3aa1
This commit is contained in:
Jean-Philippe Evrard 2017-08-08 15:14:43 +00:00
parent 21acc02601
commit 22e6295c84

View File

@ -39,3 +39,7 @@ export VENV_URL="${VENV_URL:-https://rpc-repo.rackspace.com/venvs/leap-bundles}"
export VALIDATE_UPGRADE_INPUT="${VALIDATE_UPGRADE_INPUT:-TRUE}" export VALIDATE_UPGRADE_INPUT="${VALIDATE_UPGRADE_INPUT:-TRUE}"
export UPGRADES_TO_TODOLIST="${UPGRADES_TO_TODOLIST:-''}" export UPGRADES_TO_TODOLIST="${UPGRADES_TO_TODOLIST:-''}"
export CODE_UPGRADE_FROM="" export CODE_UPGRADE_FROM=""
## Ansible debugging
export LEAP_TIMESTAMP=$(date +%s)
export ANSIBLE_LOG_PATH="/opt/leap42/ansible-${LEAP_TIMESTAMP}.log"