「Spring MVC」log4j.propertiesのサンプル
使用例
#logger log4j.rootLogger=INFO,stdout,file log4j.category.com.arkgame.cft=DEBUG #file appender log4j.appender.file=org.apache.log4j.DailyRollingFileAppender log4j.appender.file.File=/var/log/cft.log log4j.appender.file.DatePattern='.'yyyy-MM-dd log4j.appender.file.Encoding=utf-8 log4j.appender.file.layout=org.apache.log4j.PatternLayout