posts - 8,  comments - 4,  trackbacks - 0
          ### direct log messages to stdout ###
          log4j.appender.stdout=org.apache.log4j.ConsoleAppender
          log4j.appender.stdout.Target=System.out
          log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
          log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n

          ### direct messages to file hibernate.log ###
          #log4j.appender.file=org.apache.log4j.FileAppender
          #log4j.appender.file.File=hibernate.log
          #log4j.appender.file.layout=org.apache.log4j.PatternLayout
          #log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n

          ### set log levels - for more verbose logging change 'info' to 'debug' ###

          log4j.rootLogger=warn, stdout

          #log4j.logger.org.hibernate=info
          #log4j.logger.org.hibernate=debug

          ### log HQL query parser activity
          #log4j.logger.org.hibernate.hql.ast.AST=debug

          ### log just the SQL
          log4j.logger.org.hibernate.SQL=debug

          ### log JDBC bind parameters ###
          #log4j.logger.org.hibernate.type=info
          #log4j.logger.org.hibernate.type=debug
          #log4j.logger.org.hibernate.type.descriptor.sql.BasicBinder=TRACE  //顯示SQL語句綁定的參數
          ### log schema export/update ###
          log4j.logger.org.hibernate.tool.hbm2ddl=debug

          ### log HQL parse trees
          #log4j.logger.org.hibernate.hql=debug

          ### log cache activity ###
          #log4j.logger.org.hibernate.cache=debug

          ### log transaction activity
          #log4j.logger.org.hibernate.transaction=debug

          ### log JDBC resource acquisition
          #log4j.logger.org.hibernate.jdbc=debug

          ### enable the following line if you want to track down connection ###
          ### leakages when using DriverManagerConnectionProvider ###
          #log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace


          posted on 2011-04-19 19:26 林齊磊花 閱讀(379) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          <2011年4月>
          272829303112
          3456789
          10111213141516
          17181920212223
          24252627282930
          1234567

          常用鏈接

          留言簿

          隨筆檔案

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 苍山县| 和龙市| 基隆市| 滦平县| 共和县| 天等县| 永兴县| 台南县| 武川县| 濮阳县| 平武县| 陆川县| 高平市| 芷江| 霸州市| 兰州市| 韩城市| 宜宾市| 疏勒县| 临夏市| 永福县| 都昌县| 宜兰市| 虞城县| 彭泽县| 关岭| 新建县| 辽源市| 武宣县| 清水河县| 武安市| 新丰县| 正安县| 霸州市| 宁都县| 个旧市| 镇远县| 白银市| 通州市| 池州市| 蒙城县|