[COMMON] new logConfiguration chart
[oom.git] / kubernetes / vfc / charts / vfc-juju-vnfm-driver / resources / config / logging / 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 log4j.logger.org.openo.nfvo=DEBUG,stdout
18 log4j.appender.root.Append=true
19
20 #Log Directory
21 logDir=/var/log/onap
22 componentName=vfc
23 subComponentName=jujudriver
24 log4j.appender.root.File=${logDir}/${componentName}/${subComponentName}/jujuvnfmadapterservice.log
25
26 log4j.appender.root.layout.ConversionPattern=%d %-5p [%t][%X{moduleID}][%C %L] %m%n
27 log4j.appender.root.layout=org.apache.log4j.PatternLayout
28 log4j.appender.root.MaxBackupIndex=50
29 log4j.appender.root.MaxFileSize=20MB
30 log4j.appender.root=org.apache.log4j.RollingFileAppender
31
32 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
33 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
34 log4j.appender.stdout.layout.ConversionPattern=%d %-5p [%t][%X{moduleID}][%C %L] %m%n