You have to configure log4Net for that
You can see in IBatisNet.Test.dll.config for syntax.
 
something like
 
<logger name="IBatisNet.DataMapper.Configuration.Cache.CacheModel">
   <level value="DEBUG" />
  </logger>
  <logger name="IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory">
   <level value="DEBUG" />
  </logger>
  <logger name="IBatisNet.DataMapper.LazyLoadList">
   <level value="DEBUG" />
  </logger>
 
Sorry if I don't respond for other post but I have no connection to Internet as I'am moving.
 
-Gilles
============================================

Hi,

 

I’d like to see the SQL statements that are launched in my logs.

How can I do this ?

Actually, I would like to see whether the lazy loading is working or not.

 

Thanks in advance,

 

Regards

 

Jean-Guillaume LALANNE

 



Accédez au courrier électronique de La Poste : www.laposte.net ;
3615 LAPOSTENET (0,34 /mn) ; tél : 08 92 68 13 50 (0,34/mn)

Reply via email to