log4j.properties

log4j.properties

# Global logging configuration
log4j.rootLogger=ERROR, stdout, file
# iBATIS & SQL Map logging level
#log4j.logger.com.ibatis=DEBUG
#log4j.logger.com.ibatis.common.jdbc.SimpleDataSource=DEBUG
log4j.logger.java.sql.Connection=DEBUG
log4j.logger.java.sql.Statement=DEBUG
log4j.logger.java.sql.PreparedStatement=DEBUG
#log4j.logger.java.sql.ResultSet=DEBUG


#log4j.logger.org.ddit=DEBUG


# Console Appender
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%5p %C{1}:%L – %m%n


# DailyRolling File Appender
log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
#log4j.appender.file.Threshold=WARN
log4j.appender.file.File=D:\\shopPlayerLogs\\weblogs.log
log4j.appender.file.DatePattern=’.’yyyyMMdd-HH’.’HHmm’backup’
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=[%-5p %d{yyyy-MM-dd HH:mm:ss} %l] %m%n

炒外汇入门

Leave a Reply

Your email address will not be published. Required fields are marked *