I'm trying to use one of the built in loggers so I can see the SQL statements
performed on the database, but I don't know where the logging file gets
outputted. I followed this
http://ibatis.apache.org/docs/dotnet/datamapper/ch04s05.html and put this in
my Web.config:

<configuration>
 <configSections>
  <sectionGroup name="iBATIS">
   <section name="logging"
type="IBatisNet.Common.Logging.ConfigurationSectionHandler,
IBatisNet.Common" />
  </sectionGroup>
 </configSections>
 <iBATIS>
  <logging>
   <logFactoryAdapter type="IBatisNet.Common.Logging.Impl.ConsoleLoggerFA,
IBatisNet.Common.Logging" />
  </logging>
 </iBATIS>
</configuration>

Is there something I'm missing because I don't know what this is doing (I
couldn't find new files anywhere)? Also is there a preference for which
built-in logger to use (NoOpLogger, ConsoleOutLogger, TraceLogger)? Thanks
for any help.
-- 
View this message in context: 
http://www.nabble.com/How-to-specify-logging-output-file--tp20529993p20529993.html
Sent from the iBATIS - User - Cs mailing list archive at Nabble.com.

Reply via email to