diff options
Diffstat (limited to 'huawei')
-rw-r--r-- | huawei/vnfmadapter/VnfmadapterService/service/src/main/resources/log4j.properties | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/huawei/vnfmadapter/VnfmadapterService/service/src/main/resources/log4j.properties b/huawei/vnfmadapter/VnfmadapterService/service/src/main/resources/log4j.properties index 833c7a77..195e9410 100644 --- a/huawei/vnfmadapter/VnfmadapterService/service/src/main/resources/log4j.properties +++ b/huawei/vnfmadapter/VnfmadapterService/service/src/main/resources/log4j.properties @@ -15,7 +15,13 @@ ############################################################################### log4j.rootLogger=INFO,root log4j.appender.root.Append=true -log4j.appender.root.File=${catalina.base}/logs/vnfmadapterservice.log + +#Log Directory +logDir=/var/log/onap +componentName=svnfmdriver +subComponentName=huaweivnfmdriver +log4j.appender.root.File=${logDir}/${componentName}/${subComponentName}/vnfmadapterservice.log + log4j.appender.root.layout.ConversionPattern=%d %-5p [%t][%X{moduleID}][%C %L] %m%n log4j.appender.root.layout=org.apache.log4j.PatternLayout log4j.appender.root.MaxBackupIndex=50 |