summaryrefslogtreecommitdiffstats
path: root/tools/demo_deploy.sh
diff options
context:
space:
mode:
authorBryan Sullivan <bryan.sullivan@att.com>2017-11-27 21:23:13 -0800
committerBryan Sullivan <bryan.sullivan@att.com>2017-11-27 21:23:13 -0800
commitc1a19aa347fb8a68840043e86d80f7124e638f87 (patch)
tree026511b1fcd64d6396b9f2eb62c4dd797bd84842 /tools/demo_deploy.sh
parentf615fa0f50ab849526434cfe24a25246696df339 (diff)
Add loglevel as env variable
JIRA: VES-2 Change-Id: I909da7f9bc62ba33e5e33bb90d153ec9a425acb8 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
Diffstat (limited to 'tools/demo_deploy.sh')
-rw-r--r--tools/demo_deploy.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/demo_deploy.sh b/tools/demo_deploy.sh
index d8f6be0..433dafd 100644
--- a/tools/demo_deploy.sh
+++ b/tools/demo_deploy.sh
@@ -39,6 +39,7 @@
#. ves_influxdb_auth: authentication for the influxdb service
#. ves_grafana_host: ip:port of the grafana service
#. ves_grafana_auth: authentication for the grafana service
+#. ves_loglevel: loglevel for VES Agent and Collector (ERROR|DEBUG)
#.
#. For deployment in a kubernetes cluster as setup by OPNFV Models scripts:
#. - k8s cluster setup as in OPNFV Models repo tools/kubernetes/demo_deploy.sh
@@ -88,6 +89,8 @@ ssh -x -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no \
export ves_grafana_host
ves_grafana_auth=$ves_grafana_auth
export ves_grafana_auth
+ ves_loglevel=$ves_loglevel
+ export ves_loglevel
env | grep ves
bash /tmp/ves/tools/ves-setup.sh collector
bash /tmp/ves/tools/ves-setup.sh kafka