.carina-core.1.2.10.source-code.log4j2.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of carina-core Show documentation
Show all versions of carina-core Show documentation
Carina core module for web, mobile testing.
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <configuration packages="com.zebrunner.agent.core.logging.log4j2, com.zebrunner.carina.core.log"> <properties> <property name="carina-pattern">%d{yyyy-MM-dd HH:mm:ss} %c{1} [%t%X{threadId}] [%p] %m%n</property> <property name="zebrunner-pattern">[%d{HH:mm:ss}] %-5p (%F:%L) - %m%n</property> </properties> <appenders> <Console name="Console" target="SYSTEM_OUT" follow="true"> <PatternLayout pattern="${carina-pattern}"/> </Console> <ThreadLogAppender name="ThreadLogAppender"> <PatternLayout pattern="${carina-pattern}" /> </ThreadLogAppender> <ReportingAppender name="ReportingAppender"> <PatternLayout pattern="${zebrunner-pattern}" /> </ReportingAppender> </appenders> <loggers> <!-- there are a lot of useless logs from Reflections --> <logger name="org.reflections" level="WARN" additivity="false"> <appender-ref ref="Console"/> <appender-ref ref="ThreadLogAppender"/> <appender-ref ref="ReportingAppender"/> </logger> <logger name="io.netty" additivity="false"> <appender-ref ref="Console"/> <appender-ref ref="ThreadLogAppender"/> <appender-ref ref="ReportingAppender"/> </logger> <logger name="org.asynchttpclient.netty" additivity="false"> <appender-ref ref="Console"/> <appender-ref ref="ThreadLogAppender"/> <appender-ref ref="ReportingAppender"/> </logger> <root level="info"> <appender-ref ref="Console"/> <appender-ref ref="ThreadLogAppender"/> <appender-ref ref="ReportingAppender"/> </root> </loggers> </configuration>