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