aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authoryanhuanwang <martin.c.yan@est.tech>2019-09-11 15:15:21 +0200
committeryanhuanwang <martin.c.yan@est.tech>2019-09-11 15:23:39 +0200
commit31c7509eb8a6ea5498e78b0c326f60733c0a9791 (patch)
treea828223e182323ade3ceac715b342534e9067cf3 /scripts
parentcdd725e7624acb8652ca9e4b5fba8c9fa64ae033 (diff)
fix a race condition bug in dfc csit
Change-Id: Ibed69f6a1ac068d7b088ed0367ea5b59e29f933f Signed-off-by: Martin Yan <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-1702
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh b/scripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh
index 68e0745d..c63eaf68 100755
--- a/scripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh
+++ b/scripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh
@@ -17,16 +17,6 @@ for i in {1..10}; do
if [ $(docker inspect --format '{{ .State.Running }}' $DFC_APP) ]
then
echo "DFC app Running"
-
- # enable TRACE logging of DFC
- docker exec $DFC_APP /bin/sh -c " sed -i 's/org.onap.dcaegen2.collectors.datafile: WARN/org.onap.dcaegen2.collectors.datafile: TRACE/g' /opt/app/datafile/config/application.yaml"
-
- #enable TRACE logging of spring-framework
- docker exec $DFC_APP /bin/sh -c " sed -i 's/org.springframework.data: ERROR/org.springframework.data: TRACE/g' /opt/app/datafile/config/application.yaml"
-
- docker restart $DFC_APP
- sleep 10
-
break
else
echo sleep $i