blob: 02f783076af16815d1f847f8378270ce17f8cbbc [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
shrikantawachar2623c842019-05-20 12:11:54 +053029log4j.logger.org.janusgraph.diskstorage.cassandra.CassandraTransaction=INFO, FILE, stdout
Michael Landob3d48982017-06-11 14:22:02 +030030
31log4j.logger.org.openecomp.sdc.ci.tests.utils=INFO, FILE, stdout
32log4j.additivity.org.openecomp.sdc.ci.tests.utils=false
33
34