All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.carina-core.1.3.0.source-code.log4j2.xml Maven / Gradle / Ivy

There is a newer version: 1.2.10
Show 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>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy