Hi people. I'm using log4net for my application logs and I would like to use
it for iBatis too. As the documentation ask, I configured the log like this:
<iBATIS>
  <logging>
      <logFactoryAdapter type="IBatisNet.Common.Logging.Impl.Log4NetLoggerFA,
IBatisNet.Common.Logging.Log4Net">
              <arg key="configType" value="external" />
      </logFactoryAdapter>
  </logging>
</iBATIS>

I used configType=external because my application is configuring log4net at
global.asax, but it does not log any sql statemant. I have a root appender
with level = ALL and my application is logging ok.

Any ideas?
thanks

Reply via email to