#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
# Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
#
# The contents of this file are subject to the terms
# of the Common Development and Distribution License
# (the License). You may not use this file except in
# compliance with the License.
#
# You can obtain a copy of the License at
# https://opensso.dev.java.net/public/CDDLv1.0.html or
# opensso/legal/CDDLv1.0.txt
# See the License for the specific language governing
# permission and limitations under the License.
#
# When distributing Covered Code, include this CDDL
# Header Notice in each file and include the License file
# at opensso/legal/CDDLv1.0.txt.
# If applicable, add the following below the CDDL Header,
# with the fields enclosed by brackets [] replaced by
# your own identifying information:
# "Portions Copyrighted 2008 Miguel Angel Alonso Negro <miguelangel.alonso@gmail.com>"
#
# $Id: log4j.properties,v 1.2 2009/02/21 01:43:03 malonso Exp $
#
#

log4j.rootLogger=${log4j.rootCategory}

##########################
# Appender Configuration #
##########################

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p [%t] (%F:%L) - %m -> [%5c]%n

log4j.appender.file = org.apache.log4j.RollingFileAppender
log4j.appender.file.File = ${log4j.dir.log}/itecban.log
log4j.appender.file.MaxFileSize = 10MB
log4j.appender.file.MaxBackupIndex = 10
log4j.appender.file.Append = true
log4j.appender.file.ImmediateFlush = ${log4j.appender.file.ImmediateFlush}
log4j.appender.file.layout = org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern = ${log4j.appender.AppFichero.layout.ConversionPattern}

# Development pattern
# log4j.appender.{name}.layout.ConversionPattern = %d{ISO8601} %-5p [%t] (%F:%L) - %m -> [%5c]%n
# Production pattern
# log4j.appender.{name}.layout.ConversionPattern = %d{ISO8601} %-5p [%t] - %m -> [%5c]%n


log4j.logger.org=warn
log4j.logger.javax.faces=warn

