blob: b3efb30416a10c7a4e7257aa832804b088bc1a9b [file] [log] [blame]
Sonsino, Ofir (os0695)4a4dcc52018-08-12 14:51:28 +03001<?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>