diff options
author | Ofir Sonsino <os0695@intl.att.com> | 2018-08-12 12:20:55 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-08-12 12:20:55 +0000 |
commit | 91b057331b92ecf7f3c2d495681b05295dc8346c (patch) | |
tree | 0ce3f821ada8ad518784f7f9869db4b537ba3237 /vid-automation/src/main/resources/log4j2.xml | |
parent | 9152b2ae03c4751b492a219993d85d522c58b383 (diff) | |
parent | 4a4dcc5185f8ba5a28c7f9fef509f32c0c2389e6 (diff) |
Merge "vid-automation selenium tests"
Diffstat (limited to 'vid-automation/src/main/resources/log4j2.xml')
-rw-r--r-- | vid-automation/src/main/resources/log4j2.xml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/vid-automation/src/main/resources/log4j2.xml b/vid-automation/src/main/resources/log4j2.xml new file mode 100644 index 000000000..b3efb3041 --- /dev/null +++ b/vid-automation/src/main/resources/log4j2.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Configuration status="ERROR" packages="com.epam.ta.reportportal.log4j.appender"> + <properties> + <property name="pattern">[%d{HH:mm:ss,SSS}] %-5p (%F:%L) - %m%n</property> + <property name="report.pattern">%m%n</property> + </properties> + <Appenders> + <Console name="Console" target="SYSTEM_OUT"> + <PatternLayout pattern="${pattern}"/> + </Console> + <ReportPortalLog4j2Appender name="ReportPortalAppender"> + <PatternLayout pattern="${pattern}"/> + </ReportPortalLog4j2Appender> + <Console name="ConsoleReport" target="SYSTEM_OUT"> + <PatternLayout pattern="${report.pattern}"/> + </Console> + <ReportPortalLog4j2Appender name="ReportPortalLogReport"> + <PatternLayout pattern="${report.pattern}"/> + </ReportPortalLog4j2Appender> + </Appenders> + <Loggers> + <Root level="all"> + <AppenderRef ref="Console"/> + <AppenderRef ref="ReportPortalAppender"/> + </Root> + <logger name="upload.file.to.reportportal" level="all" additivity="false"> + <AppenderRef ref="ReportPortalAppender"/> + </logger> + <logger name="logger.report" level="all" additivity="false"> + <AppenderRef ref="ConsoleReport"/> + <AppenderRef ref="ReportPortalLogReport"/> + </logger> + <logger name="rp.org.apache.http" level="WARN"/> + <logger name="org.apache.http" level="WARN"/> + <logger name="com.epam.reportportal" level="WARN"/> + <logger name="CouchDbDataAdapter" level="WARN"/> + </Loggers> +</Configuration> |