zheng-cms-rpc-service打印sql日志

This commit is contained in:
shuzheng 2017-01-07 22:15:24 +08:00
parent 1b89d1a4bf
commit e21988513e
2 changed files with 6 additions and 6 deletions

View File

@ -16,3 +16,8 @@ log4j.logger.druid.sql.DataSource=warn,stdout
log4j.logger.druid.sql.Connection=warn,stdout log4j.logger.druid.sql.Connection=warn,stdout
log4j.logger.druid.sql.Statement=warn,stdout log4j.logger.druid.sql.Statement=warn,stdout
log4j.logger.druid.sql.ResultSet=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

View File

@ -15,9 +15,4 @@ log4j.logger.druid.sql=warn,stdout
log4j.logger.druid.sql.DataSource=warn,stdout log4j.logger.druid.sql.DataSource=warn,stdout
log4j.logger.druid.sql.Connection=warn,stdout log4j.logger.druid.sql.Connection=warn,stdout
log4j.logger.druid.sql.Statement=warn,stdout log4j.logger.druid.sql.Statement=warn,stdout
log4j.logger.druid.sql.ResultSet=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