aboutsummaryrefslogtreecommitdiffstats
path: root/deliveries/src/main/scripts
diff options
context:
space:
mode:
authorkurczews <krzysztof.kurczewski@nokia.com>2018-11-05 12:42:15 +0100
committerkurczews <krzysztof.kurczewski@nokia.com>2018-11-05 13:03:42 +0100
commit72eaec3eaa5c6496c40842b45b81fcb04a8ec50a (patch)
tree980b94429ebf1dc85ae251a9dabcb9ddd2d2ccf5 /deliveries/src/main/scripts
parent5a7cdb624c0abe6f2b7e80bcbbaa740c4ee35e39 (diff)
Move logback config from WAR
Issue-ID: VID-40 Change-Id: I8c658e78af0e5b045e9fb36f4da07f0c5bb0f097 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
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
}