summaryrefslogtreecommitdiffstats
path: root/vnfmarket-be/vnf-sdk-marketplace
diff options
context:
space:
mode:
authorKanagaraj Manickam <mkr1481@gamil.com>2020-03-19 15:40:52 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2020-03-20 09:18:53 +0530
commitcee4b4cb464446b1d98dea8e49af5ef858d87aed (patch)
tree4c2086b30a972bd76134ea030b22f7668a88ac6d /vnfmarket-be/vnf-sdk-marketplace
parent3e90fc1056791e629916a29b12b7b14bcb1e2f15 (diff)
non-root docker support
Issue-ID: VNFSDK-565 Change-Id: I231f28cef791bb1ccbffd407bcd25604a7d18bcc Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'vnfmarket-be/vnf-sdk-marketplace')
-rw-r--r--vnfmarket-be/vnf-sdk-marketplace/src/main/resources/log4j2.properties4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnfmarket-be/vnf-sdk-marketplace/src/main/resources/log4j2.properties b/vnfmarket-be/vnf-sdk-marketplace/src/main/resources/log4j2.properties
index 77583365..9a9f4f1e 100644
--- a/vnfmarket-be/vnf-sdk-marketplace/src/main/resources/log4j2.properties
+++ b/vnfmarket-be/vnf-sdk-marketplace/src/main/resources/log4j2.properties
@@ -21,8 +21,8 @@ rootLogger.appenderRef.root.ref=RollingFile
appender.root.type = RollingFile
appender.root.name = RollingFile
-appender.root.fileName=${env:CATALINA_HOME}/logs/vnfsdkmarketplace.log
-appender.root.filePattern=${env:CATALINA_HOME}/logs/vnfsdkmarketplace.%d{yyyy-MM-dd-HH:mm:ss}.log
+appender.root.fileName=${env:CATALINA_HOME:-.}/logs/vnfsdkmarketplace.log
+appender.root.filePattern=${env:CATALINA_HOME:-.}/logs/vnfsdkmarketplace.%d{yyyy-MM-dd-HH:mm:ss}.log
appender.root.append=true
appender.root.policies.type=Policies
appender.root.policies.size.type=SizeBasedTriggeringPolicy