Huawei svnfm vulnerability fix
[vfc/nfvo/driver/vnfm/svnfm.git] / huawei / vnfmadapter / VnfmadapterService / service / src / main / resources / log4j.properties
1 ###############################################################################
2 # Copyright 2016, Huawei Technologies Co., Ltd.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #     http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 ###############################################################################
16 #log4j.rootLogger=INFO,root
17 rootLogger.level=INFO
18 rootLogger.appenderRefs=file
19 rootLogger.appenderRef.root.ref=RollingFile
20
21 #Log Directory
22 property.logDir=/var/log/onap
23 property.componentName=vfc
24 property.subComponentName=huaweivnfmdriver
25
26 appender.root.type = RollingFile
27 appender.root.name = RollingFile
28 appender.root.append=true
29 appender.root.fileName=${logDir}/${componentName}/${subComponentName}/vnfmadapterservice.log
30 appender.root.filePattern=${logDir}/${componentName}/${subComponentName}/vnfmadapterservice.%d{dd-MMM}.log
31 appender.root.policies.type=Policies
32 appender.root.policies.size.type=SizeBasedTriggeringPolicy
33 appender.root.policies.size.size=20MB
34 appender.root.strategy.type=DefaultRolloverStrategy
35 appender.root.strategy.max=50
36 appender.root.layout.type=PatternLayout
37 appender.root.layout.pattern=%d %-5p [%t][%X{moduleID}][%C %L] %m%n