log4j.logger.jp.go.mlit.kaiho=INFO,file,A1
log4j.logger.org.springframework=ERROR,file
log4j.logger.org.apache.commons=ERROR,file

# for Console
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.Target = System.out
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d{yyyy/MMM/dd HH:mm:ss,SSS} %-5p [%t] %c{1} - %m%n

# for Logfile
#log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.Append=true
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.MaxBackupIndex=10
log4j.appender.file.Threshold=INFO
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{yyyy/MMM/dd HH:mm:ss,SSS} %-5p [%t] %c{1} - %m%n
log4j.appender.file.File=${catalina.home}/logs/gisserver.log

# for Syslog
#log4j.appender.syslog=org.apache.log4j.net.SyslogAppender
#log4j.appender.syslog.SyslogHost=localhost
#log4j.appender.syslog.Facility=local0
#log4j.appender.syslog.Threshold=ERROR
#log4j.appender.syslog.FacilityPrinting=true
#log4j.appender.syslog.layout=org.apache.log4j.PatternLayout
#log4j.appender.syslog.layout.ConversionPattern=%-5p %m%n

