The BasicConfigurator.Configure() will only log to Console, which can of course be tricky in a web project. See https://logging.apache.org/log4net/release/sdk/index.html and the other log4net documentation at https://logging.apache.org/log4net/release/manual/introduction.html
I would put the logging initialization in Application_Start in global.asax.cs to make SURE it gets done before anything interesting that needs to be logged happens. /Oskar 2016-03-03 17:30 GMT+00:00 Steve Lyle <ssl...@gmail.com>: > From the screen attached I think you should be able to see all of interest. > - Web.Config. > - The call to log4net.Config.BasicConfigurator.Configure() immediately > before calling anything nHibernate. > - Debug output > > My entire solution is available to you to pull down from github. > sslyle <https://github.com/sslyle>/*StevesNHibernatePlayground > <https://github.com/sslyle/StevesNHibernatePlayground>* > This regards the QuickStart solution. > > log4net fails for either of the two aps.net projects but works fine for > the winform (NHibernateTutorialPart1) > > Your thoughts and input are respected and appreciated. > > > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to nhusers+unsubscr...@googlegroups.com. > To post to this group, send email to nhusers@googlegroups.com. > Visit this group at https://groups.google.com/group/nhusers. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to nhusers+unsubscr...@googlegroups.com. To post to this group, send email to nhusers@googlegroups.com. Visit this group at https://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/d/optout.