From aae690873cf641561a7f55b5fe52bee0d9633294 Mon Sep 17 00:00:00 2001 From: "a.sreekumar" Date: Wed, 8 Jan 2020 13:00:13 +0000 Subject: Enabling logback file to be loaded using oom configmap Change-Id: I4828559ff62ffc3ee41f89448a6f7e9914a2a0ba Issue-ID: POLICY-2308 Signed-off-by: a.sreekumar --- packages/docker/src/main/docker/do-start.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packages/docker') 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 -- cgit 1.2.3-korg