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

elenus-commons.3.0.3.source-code.log4j2.xml Maven / Gradle / Ivy

Go to download

JPA-like syntax for annotating POJO classes for persistence via Cassandra's Java driver - Common Utilities

There is a newer version: 3.0.4
Show newest version
<?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 - Jan 15, 2015 - paouelle - Creation                           -->
<!--                                                                           -->
<!-- @since 1.0                                                                -->
<!--                                                                           -->
<configuration strict="true" status="off">
	<appenders>
		<appender type="Console" name="STDOUT_LOCATION">
			<layout type="PatternLayout"
				pattern="%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="%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>
	</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="INFO"/>
        
		<root level="TRACE">
			<appender-ref ref="STDOUT_LOCATION">
				<filters>
                    <MarkerFilter marker="FLOW" onMatch="ACCEPT" onMismatch="DENY"/>
                    <MarkerFilter marker="EXCEPTION" onMatch="ACCEPT" onMismatch="DENY"/>
				</filters>
			</appender-ref>
			<appender-ref ref="STDOUT">
				<filters>
                    <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