2. Problem Solution How to do Configure log4net config file Declare ILog instance Check result Agenda
3. Problem nHibernate write lots of log during its operation. If system log and nHibernate log write into the same file, it’s will be very hard to read
4. Solution Separate them into two logs. One for system log, another one is nHibernate log. System Log nHibernate Log D:/temp/SystemLog D:/temp/nHibernate
12. How to configure Log4Net for use with Nhibernate http://blogs.hibernatingrhinos.com/nhibernate/archive/2008/07/01/how-to-configure-log4net-for-use-with-nhibernate.aspx Isolating NHibernateLogging http://geekswithblogs.net/opiesblog/archive/2006/09/29/92721.aspx Viewing the SQL generated by Nhibernate http://www.davesquared.net/2008/01/viewing-sql-generated-by-nhibernate.html Reference