blob: 2f44a11a25e611a1cc1222e2cb76a96277eaffa6 [file] [log] [blame]
Kanagaraj Manickam k003651067f29a3a2019-02-27 14:47:47 +05301# Copyright 2018 Huawei Technologies Co., Ltd.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15log4j.rootLogger=ERROR, file
16
17log4j.logger.org.onap=ERROR, stdout
18
19# Direct log messages to stdout
20log4j.appender.stdout=org.apache.log4j.ConsoleAppender
21log4j.appender.stdout.Target=System.out
22log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
23log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
24
25# Redirect log messages to a log file, support file rolling.
26log4j.appender.file=org.apache.log4j.RollingFileAppender
27log4j.appender.file.File=./csar-validate.log
28log4j.appender.file.MaxFileSize=5MB
29log4j.appender.file.MaxBackupIndex=10
30log4j.appender.file.layout=org.apache.log4j.PatternLayout
31log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n