ommons-util.commons-util-core-bc-composite-security.3.19.source-code.log4j.properties Maven / Gradle / Ivy
#
# Copyright 2010 Västra Götalandsregionen
#
# This library is free software; you can redistribute it and/or modify
# it under the terms of version 2.1 of the GNU Lesser General Public
# License as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
# Boston, MA 02111-1307 USA
#
#
# Logging to console...normally for debug/development use only...
#log4j.rootCategory=INFO, stdout
#log4j.appender.stdout=org.apache.log4j.ConsoleAppender
#log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
#log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%n
# Logging to file...
log4j.rootCategory=DEBUG, ROLLINGFILE
# Define rolling file appender
log4j.appender.ROLLINGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.ROLLINGFILE.File=${catalina.home}/logs/portal.log
# Roll on max size
log4j.appender.ROLLINGFILE.MaxFileSize=10000KB
# Keep ten backup files
log4j.appender.ROLLINGFILE.MaxBackupIndex=10
# Set pattern
log4j.appender.ROLLINGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.ROLLINGFILE.layout.ConversionPattern=%d{yyyy-MM-dd@HH:mm:ss} %-5p [%c] - %m%n
# To enable web flow specific logging...
#log4j.category.org.springframework.webflow=INFO
#log4j.category.org.springframework.binding=INFO
# To enable JAVG specific logging...
#log4j.category.se.vgr.javg=INFO