blob: 5a92e611b065ea58bcfbe049346ec1047c74210c [file] [log] [blame]
Michael Landoa5445102018-03-04 14:53:33 +02001<?xml version="1.0" encoding="UTF-8"?>
2<Configuration status="ERROR" packages="com.epam.ta.reportportal.log4j.appender">
3 <properties>
4 <property name="pattern">[%d{HH:mm:ss,SSS}] %-5p (%F:%L) - %m%n</property>
5 <property name="report.pattern">%m%n</property>
6 </properties>
7 <Appenders>
8 <Console name="Console" target="SYSTEM_OUT">
9 <PatternLayout pattern="${pattern}"/>
10 </Console>
11 <ReportPortalLog4j2Appender name="ReportPortalAppender">
12 <PatternLayout pattern="${pattern}"/>
13 </ReportPortalLog4j2Appender>
14 <Console name="ConsoleReport" target="SYSTEM_OUT">
15 <PatternLayout pattern="${report.pattern}"/>
16 </Console>
17 <ReportPortalLog4j2Appender name="ReportPortalLogReport">
18 <PatternLayout pattern="${report.pattern}"/>
19 </ReportPortalLog4j2Appender>
20 </Appenders>
21 <Loggers>
22 <Root level="all">
23 <AppenderRef ref="Console"/>
24 <AppenderRef ref="ReportPortalAppender"/>
25 </Root>
26 <logger name="upload.file.to.reportportal" level="all" additivity="false">
27 <AppenderRef ref="ReportPortalAppender"/>
28 </logger>
29 <logger name="logger.report" level="all" additivity="false">
30<!-- <AppenderRef ref="ConsoleReport"/> -->
31 <AppenderRef ref="ReportPortalLogReport"/>
32 </logger>
33 <logger name="rp.org.apache.http" level="WARN"/>
34 <logger name="org.apache.http" level="WARN"/>
35 <logger name="com.epam.reportportal" level="WARN"/>
36 <logger name="CouchDbDataAdapter" level="WARN"/>
37 </Loggers>
38</Configuration>