summaryrefslogtreecommitdiffstats
path: root/juju/juju-vnfmadapter
diff options
context:
space:
mode:
authorluxin <luxin7@huawei.com>2018-03-14 17:44:59 +0800
committerluxin <luxin7@huawei.com>2018-03-14 17:44:59 +0800
commitfac07f3f377ef1ff5bf8b93587f0baa7f7bc9c8b (patch)
treeb1f0cc7a82b553839a09aa653b19b71dc94ac5ba /juju/juju-vnfmadapter
parentb7bd16c23152a6abdef4386fc8b4308877a4221e (diff)
Specify the output path of log
Change-Id: Ib912ea6fea6f79cad102f020c49c820c729a95a2 Issue-ID: VFC-816 Signed-off-by: luxin <luxin7@huawei.com>
Diffstat (limited to 'juju/juju-vnfmadapter')
-rw-r--r--juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/main/resources/log4j.properties8
1 files changed, 7 insertions, 1 deletions
diff --git a/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/main/resources/log4j.properties b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/main/resources/log4j.properties
index 7fc5d67..db7158d 100644
--- a/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/main/resources/log4j.properties
+++ b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/main/resources/log4j.properties
@@ -16,7 +16,13 @@
log4j.rootLogger=INFO,root
log4j.logger.org.openo.nfvo=DEBUG,stdout
log4j.appender.root.Append=true
-log4j.appender.root.File=${catalina.base}/logs/jujuvnfmadapterservice.log
+
+#Log Directory
+logDir=/var/log/onap
+componentName=gvnfmdriver
+subComponentName=jujudriver
+log4j.appender.root.File=${logDir}/${componentName}/${subComponentName}/jujuvnfmadapterservice.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