Merge "Enabling logback file to be loaded using oom configmap"
diff --git a/packages/apex-pdp-package-full/src/main/package/scripts/apexOnapPf.sh b/packages/apex-pdp-package-full/src/main/package/scripts/apexOnapPf.sh
index 7c12e22..56ab61b 100644
--- a/packages/apex-pdp-package-full/src/main/package/scripts/apexOnapPf.sh
+++ b/packages/apex-pdp-package-full/src/main/package/scripts/apexOnapPf.sh
@@ -1,7 +1,7 @@
 #!/bin/bash -x
 #
 # ============LICENSE_START=======================================================
-#  Copyright (C) 2019 Nordix Foundation.
+#  Copyright (C) 2019-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 +69,11 @@
     cp -f "${HOME}"/config/policy-keystore "${APEX_HOME}"/etc/ssl/
 fi
 
+if [[ -f "${HOME}"/config/logback.xml ]]; then
+    echo "overriding logback.xml"
+    cp -f "${HOME}"/config/logback.xml "${APEX_HOME}"/etc/
+fi
+
 if [ $(whoami) == "$APEX_USER" ]
 then
    $APEX_HOME/bin/apexApps.sh onappf $*