diff options
Diffstat (limited to 'ResmanagementService/service/src/main/resources/log4j.properties')
-rw-r--r-- | ResmanagementService/service/src/main/resources/log4j.properties | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ResmanagementService/service/src/main/resources/log4j.properties b/ResmanagementService/service/src/main/resources/log4j.properties index d371d16..5b888fc 100644 --- a/ResmanagementService/service/src/main/resources/log4j.properties +++ b/ResmanagementService/service/src/main/resources/log4j.properties @@ -15,7 +15,12 @@ ############################################################################### log4j.rootLogger=INFO,root log4j.appender.root.Append=true -log4j.appender.root.File=${catalina.base}/logs/resmanagement.log + +#Log Directory +logDir=/var/log/onap +componentName=resmanagement +log4j.appender.root.File=${logDir}/${componentName}/resmanagement.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 |