summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-01-09 13:43:45 +0000
committerGerrit Code Review <gerrit@onap.org>2020-01-09 13:43:45 +0000
commit4cfde2fbf8390c980a96490c15440752851fd1c5 (patch)
tree9330276de75aca22dd7d5b48ab60877dec075b69 /packages
parent38919c45aafa99d950eddf879b2bc25e95529378 (diff)
parentaae690873cf641561a7f55b5fe52bee0d9633294 (diff)
Merge "Enabling logback file to be loaded using oom configmap"
Diffstat (limited to 'packages')
-rw-r--r--packages/docker/src/main/docker/do-start.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/docker/src/main/docker/do-start.sh b/packages/docker/src/main/docker/do-start.sh
index 4687e421..d565965c 100644
--- a/packages/docker/src/main/docker/do-start.sh
+++ b/packages/docker/src/main/docker/do-start.sh
@@ -4,6 +4,7 @@
# ONAP
# ================================================================================
# Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
+# Modifications Copyright (C) 2020 Nordix Foundation.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -69,6 +70,11 @@ if [[ -f config/policy-truststore ]]; then
cp -f config/policy-truststore ${POLICY_HOME}/etc/ssl
fi
+if [[ -f config/logback.xml ]]; then
+ echo "overriding logback.xml"
+ cp -f config/logback.xml "${POLICY_HOME}"/config/
+fi
+
# allow user to override all or some aaf configuration
if [[ -f config/aaf.properties ]]; then