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

-java-security.1.0.1.source-code.log4j.xml Maven / Gradle / Ivy

Go to download

Mozu Java Security is an add=on library to provide security helper functions for applications using Mozu

There is a newer version: 1.0.2
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration PUBLIC "-//APACHE//DTD LOG4J 1.2//EN" "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">

	<!-- Appenders -->
	<appender name="console" class="org.apache.log4j.ConsoleAppender">
		<layout class="org.apache.log4j.PatternLayout">
        <param name="ConversionPattern" value="%d{DATE} - %-5p: %c - %m%n" />
		</layout>
	</appender>
	
	<appender name="fileAppender" class="org.apache.log4j.RollingFileAppender">
      <param name="append" value="true"/>
      <param name="file" value="${catalina.home}/logs/powerreviews.log"/>
      <layout class="org.apache.log4j.PatternLayout">
        <param name="ConversionPattern" value="%d{DATE} - %-5p: %c - %m%n" />
      </layout>
	</appender>

	<!-- Application Loggers -->
	<logger name="com.mozu.powerreviews">
		<level value="debug" />
	</logger>
	
	<!-- 3rdparty Loggers -->
	<logger name="org.springframework.core">
		<level value="info" />
	</logger>
	
	<logger name="org.springframework.beans">
		<level value="info" />
	</logger>
	
	<logger name="org.springframework.context">
		<level value="info" />
	</logger>

	<logger name="org.springframework.web">
		<level value="info" />
	</logger>

	<!-- Root Logger -->
	<root>
		<priority value="warn" />
		<appender-ref ref="console" />
		<appender-ref ref="fileAppender" />
	</root>
	
</log4j:configuration>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy