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

lenusdriver.commons.1.0.8.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

The 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">
<!-- include this to enable log4j internal debug messages: status="debug" -->
	<appenders>
		<appender type="Console" name="STDOUT_LOCATION">
			<layout type="PatternLayout"
				pattern="%sequenceNumber: %date: %%%class-%level{TRACE=T,DEBUG=D,INFO=I,WARN=W,ERROR=E,FATAL=F}%replace{-%marker}{-$}{}: {Thrd=%thread} %location %msg%map%n%throwable" />
		</appender>
		<appender type="Console" name="STDOUT">
			<layout type="PatternLayout"
				pattern="%sequenceNumber: %date: %%%class-%level{TRACE=T,DEBUG=D,INFO=I,WARN=W,ERROR=E,FATAL=F}%replace{-%marker}{-$}{}: {Thrd=%thread} %msg%map%n%throwable" />
		</appender>
		<appender type="File" name="File"
			fileName="${sys:user.home}/APPBASE/logs/web-log-test.log">
			<layout type="PatternLayout">
				<pattern>%d %-5p %c - %m%n</pattern>
			</layout>
		</appender>
	</appenders>

	<loggers>
        <logger name="com.github.helenusdriver" level="TRACE"/>
		<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="ACCEPT" />
					<MarkerFilter marker="EXCEPTION" onMatch="DENY"
						onMismatch="ACCEPT" />
				</filters>
			</appender-ref>
		</root>
	</loggers>

</configuration>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy