SQL LOG

log4j.properties―
1 # Global logging configuration
2 log4j.rootLogger=ERROR, stdout
3
4 # SqlMap logging configuration...
5 #log4j.logger.com.ibatis=DEBUG
6 #log4j.logger.com.ibatis.common.jdbc.SimpleDataSource=DEBUG
7 #log4j.logger.com.ibatis.sqlmap.engine.cache.CacheModel=DEBUG
8 #log4j.logger.com.ibatis.sqlmap.engine.impl.SqlMapClientImpl=DEBUG
9 #log4j.logger.com.ibatis.sqlmap.engine.builder.xml.SqlMapParser=DEBUG
10#log4j.logger.com.ibatis.common.util.StopWatch=DEBUG
11#log4j.logger.java.sql.Connection=DEBUG
12#log4j.logger.java.sql.Statement=DEBUG
13#log4j.logger.java.sql.PreparedStatement=DEBUG
14#log4j.logger.java.sql.ResultSet=DEBUG
15
16# Console output...
17log4j.appender.stdout=org.apache.log4j.ConsoleAppender
18log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
19log4j.appender.stdout.layout.ConversionPattern=%5p [%t] - %m%n


ref:
Japanese translation of iBATIS Developer's Guide.

ONWEB_EN
http://ibatisnet.sourceforge.net/DevGuide.html
ONWEB_EN_PDF
http://ibatis.apache.org/docs/java/pdf/iBATIS-SqlMaps-2_en.pdf
ONWEB_JP_PDF
https://issues.apache.org/jira/secure/attachment/12359316/iBATIS-SqlMaps-2_ja.pdf
DOWNLOAD_JP_PDF
http://svn.apache.org/repos/asf/ibatis/trunk/java/ibatis-2/ibatis-2-docs/ja/iBATIS-SqlMaps-2_ja.pdf

tag : iBatis Developer's Guide log4j

2008-08-30 01:39 : __orm__ibatis : コメント : 0 : トラックバック : 0 :
コメントの投稿
非公開コメント

« next  ホーム  prev »

search

ad



counter


tag cloud

category cloud