elenus-junit.1.0.15.source-code.log4j2-test.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of helenus-junit Show documentation
Show all versions of helenus-junit Show documentation
JPA-like syntax for annotating POJO classes for persistence via Cassandra's Java driver - JUnit Framework
<?xml version="1.0" encoding="UTF-8"?> <!-- --> <!-- Copyright (C) 2015-2015 The Helenus Driver Project Authors. --> <!-- --> <!-- Licensed under the Apache License, Version 2.0 (the "License"); --> <!-- you may not use this file except in compliance with the License. --> <!-- You may obtain a copy of the License at --> <!-- --> <!-- http://www.apache.org/licenses/LICENSE-2.0 --> <!-- --> <!-- Unless required by applicable law or agreed to in writing, software --> <!-- distributed under the License is distributed on an "AS IS" BASIS, --> <!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --> <!-- See the License for the specific language governing permissions and --> <!-- limitations under the License. --> <!-- --> <!-- --> <!-- The <code>log4j2.xml</code> file provides configuration for log4j. --> <!-- --> <!-- @copyright 2015-2015 The Helenus Driver Project Authors --> <!-- --> <!-- @author The Helenus Driver Project Authors --> <!-- @version 1 - Jun 28, 2015 - paouelle - Creation --> <!-- --> <!-- @since 1.0 --> <!-- --> <configuration strict="true" status="off" packages="org.helenus.driver.junit.log4j"> <properties> <!-- default fork property to empty if not specified --> <property name="fork"/> </properties> <appenders> <appender type="Console" name="STDOUT_LOCATION"> <layout type="PatternLayout" pattern="%replace{${sys:fork}-%sequenceNumber}{^-}{}: %date: %%%logger-%level{TRACE=T,DEBUG=D,INFO=I,WARN=W,ERROR=E,FATAL=F}%replace{-%marker}{-$}{}: {Thrd=%thread} %location %msg%map%throwable%n" /> </appender> <appender type="Console" name="STDOUT"> <layout type="PatternLayout" pattern="%replace{${sys:fork}-%sequenceNumber}{^-}{}: %date: %%%logger-%level{TRACE=T,DEBUG=D,INFO=I,WARN=W,ERROR=E,FATAL=F}%replace{-%marker}{-$}{}: {Thrd=%thread} %msg%map%throwable%n" /> </appender> <appender type="File" name="CASSANDRA_FILE" fileName="target/helenus-junit/${sys:fork}/logs/system.log"> <layout type="PatternLayout" pattern="%-5level [%thread] %date{ISO8601} %F:%L - %msg%n" /> </appender> </appenders> <loggers> <logger name="org.helenus" level="TRACE"/> <logger name="com.datastax" level="INFO"/> <logger name="org.apache.cassandra" level="INFO"/> <logger name="io.netty" level="OFF"/> <root level="TRACE"> <appender-ref ref="CASSANDRA_FILE"> <filters> <CassandraDaemonThreadFilter onMatch="ACCEPT" onMismatch="DENY"/> </filters> </appender-ref> <appender-ref ref="STDOUT_LOCATION"> <filters> <CassandraDaemonThreadFilter onMatch="DENY" onMismatch="NEUTRAL"/> <MarkerFilter marker="FLOW" onMatch="ACCEPT" onMismatch="DENY"/> <MarkerFilter marker="EXCEPTION" onMatch="ACCEPT" onMismatch="DENY"/> </filters> </appender-ref> <appender-ref ref="STDOUT"> <filters> <CassandraDaemonThreadFilter onMatch="DENY" onMismatch="NEUTRAL"/> <MarkerFilter marker="FLOW" onMatch="DENY" onMismatch="NEUTRAL"/> <MarkerFilter marker="EXCEPTION" onMatch="DENY" onMismatch="ACCEPT"/> </filters> </appender-ref> </root> </loggers> </configuration>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy