summaryrefslogtreecommitdiffstats
path: root/deliveries/src/main/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'deliveries/src/main/scripts')
-rwxr-xr-xdeliveries/src/main/scripts/localize_logback.sh5
-rwxr-xr-xdeliveries/src/main/scripts/localize_war.sh2
2 files changed, 4 insertions, 3 deletions
diff --git a/deliveries/src/main/scripts/localize_logback.sh b/deliveries/src/main/scripts/localize_logback.sh
index a0f177337..90ce883cc 100755
--- a/deliveries/src/main/scripts/localize_logback.sh
+++ b/deliveries/src/main/scripts/localize_logback.sh
@@ -1,7 +1,8 @@
#!/bin/bash
-FINAL_CONFIG_FILE=$1/classes/logback.xml
-TEMPLATE_CONFIG_FILE=$1/classes/logback_template.xml
+BASE_DIR=/etc/onap/vid/conf.d
+FINAL_CONFIG_FILE=${BASE_DIR}/logback.xml
+TEMPLATE_CONFIG_FILE=${BASE_DIR}/logback_template.xml
echo "Localizing the VID logback configuration"
diff --git a/deliveries/src/main/scripts/localize_war.sh b/deliveries/src/main/scripts/localize_war.sh
index 99cb177ed..53a928e84 100755
--- a/deliveries/src/main/scripts/localize_war.sh
+++ b/deliveries/src/main/scripts/localize_war.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-source /tmp/vid/localize_logback.sh $1 || {
+source /tmp/vid/localize_logback.sh || {
echo "ERROR: Localizing logback.xml failed"
exit 1
}