aboutsummaryrefslogtreecommitdiffstats
path: root/plans/dcaegen2-collectors-datafile
diff options
context:
space:
mode:
authoryanhuanwang <martin.c.yan@est.tech>2019-09-17 18:02:14 +0200
committeryanhuanwang <martin.c.yan@est.tech>2019-09-17 18:02:14 +0200
commitf38c5aced00dc316aaba7893a1f7ab7c37ab23b9 (patch)
tree420c9535bad4f4f6271d9475f261f4c494aaefc8 /plans/dcaegen2-collectors-datafile
parentb8cb5a9d750d2bfeec274d1f955b73997a56bd52 (diff)
Add application.log to console
Change-Id: I460152ca18de3ec1ec7e7035a932aa0f1e1f6be0 Signed-off-by: yanhuanwang <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-1702
Diffstat (limited to 'plans/dcaegen2-collectors-datafile')
-rw-r--r--plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh2
-rw-r--r--plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh b/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh
index eaebbc24..81d85fe5 100644
--- a/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh
+++ b/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh
@@ -2,7 +2,7 @@
running_containers=$(docker ps --filter name=dfc_ -qa)
running_images=$(docker images -q)
-docker exec -it dfc_app0 cat /var/log/ONAP/application.log >> $WORKSPACE/archives/dfc_app0_application.log
+docker exec dfc_app0 cat /var/log/ONAP/application.log >> $WORKSPACE/archives/dfc_app0_application.log
docker logs dfc_mr-sim >> $WORKSPACE/archives/dfc_mr-sim.log
if [ -z "$running_containers" ]
diff --git a/plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh b/plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh
index d8877fbc..23581a02 100644
--- a/plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh
+++ b/plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
set +e
-docker exec -it dfc_app0 cat /var/log/ONAP/application.log > $WORKSPACE/archives/dfc_app0_application.log
+docker exec dfc_app0 cat /var/log/ONAP/application.log > $WORKSPACE/archives/dfc_app0_application.log
kill-instance.sh dfc_app0
set -e
exit 0