blob: d313e92b55da027ed0ad7268fd0df94e9618962a [file] [log] [blame]
Michael Landob3d48982017-06-11 14:22:02 +03001# Define the root logger with appender file
2log4j.rootLogger = INFO, FILE, stdout
3
4# Define the file appender
5log4j.appender.FILE=org.apache.log4j.RollingFileAppender
6log4j.appender.FILE.File=${targetlog}logs/ci-log.out
7
8# Define the layout for file appender
9log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
10log4j.appender.FILE.layout.conversionPattern=%d{yyyy-MM-dd HH:mm:ss} %5p [%10c] : %m%n
11
12# Set the maximum file size before rollover
13log4j.appender.FILE.maxFileSize=5MB
14
15# Set the the backup index
16log4j.appender.FILE.maxBackupIndex=10
17
18
19#############################################################
20
21# Direct log messages to stdout
22log4j.appender.stdout=org.apache.log4j.ConsoleAppender
23log4j.appender.stdout.Target=System.out
24log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
25#log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
26log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %5p %10c:%L - %m%n
27
28log4j.logger.org.apache.cassandra.service.StorageProxy=INFO
29log4j.logger.com.thinkaurelius.titan.diskstorage.cassandra.CassandraTransaction=INFO, FILE, stdout
30
31log4j.logger.org.openecomp.sdc.ci.tests.utils=INFO, FILE, stdout
32log4j.additivity.org.openecomp.sdc.ci.tests.utils=false
33
34