#
# Aipo is a groupware program developed by Aimluck,Inc.
# Copyright (C) 2004-2010 Aimluck,Inc.
# http://aipostyle.com/
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program 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 Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

# log4j.rootLogger=debug, stdout, AgentFile
log4j.rootLogger=debug, AgentFile

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

# Pattern to output the caller's file name and line number.
log4j.appender.stdout.layout.ConversionPattern=%d{dd MMM yyyy HH:mm:ss} %5p [%t] (%C.%M:%L) - %m%n

log4j.appender.AgentFile=org.apache.log4j.RollingFileAppender
log4j.appender.AgentFile.File=httpAgent.log

log4j.appender.AgentFile.MaxFileSize=100KB
# Keep 10 backup files
log4j.appender.AgentFile.MaxBackupIndex=10

log4j.appender.AgentFile.layout=org.apache.log4j.PatternLayout
log4j.appender.AgentFile.layout.ConversionPattern=%d{dd MMM yyyy HH:mm:ss} %5p [%t] (%C.%M:%L) - %m%n
