增加数据库日志
This commit is contained in:
parent
21b96ff84f
commit
631bec1490
|
@ -9,3 +9,15 @@ log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p [%c] - %m%n
|
||||||
|
|
||||||
#Spring logging configuration
|
#Spring logging configuration
|
||||||
log4j.category.org.springframework = warn
|
log4j.category.org.springframework = warn
|
||||||
|
|
||||||
|
#Druid logging configuration
|
||||||
|
log4j.logger.druid.sql=warn,stdout
|
||||||
|
log4j.logger.druid.sql.DataSource=warn,stdout
|
||||||
|
log4j.logger.druid.sql.Connection=warn,stdout
|
||||||
|
log4j.logger.druid.sql.Statement=warn,stdout
|
||||||
|
log4j.logger.druid.sql.ResultSet=warn,stdout
|
||||||
|
|
||||||
|
# MyBatis logging configuration
|
||||||
|
log4j.logger.com.zheng.cms.dao.mapper=debug
|
||||||
|
#log4j.logger.com.zheng.cms.dao.mapper.UserMapper=debug
|
||||||
|
#log4j.logger.com.zheng.cms.dao.mapper.UserMapper.selectUser=debug
|
Loading…
Reference in New Issue