Just cannot manage to make nlog log sql queries generated by nhibernate in a asp.net mvc application.
Is there any example opensource application using nlog and nhibernate to look at (codeplex, github, bitbucket)?
Any article how to make them work together?
NHibernate 3, Nlog 2
Thanks!
Fixed it finally. Used NHibernate.Nlog package, and did it as it is said there.
Still had to create a separate NLog.config, and put a magic string into the web.config. Fluent NHibernate doesn’t want to expose this. I have no idea why.