For Log4net, how to get NHibernate to logging a file not the console?

0 votes
asked Feb 25, 2016 by Pages939 (570 points)
Thanks in advance to everyone willing to help. If I turn on show_sql, then NHibernate logs its queries, which is what I do want to see.

3 Answers

+1 vote
answered Feb 26, 2016 by GarridoSw (880 points)
I just had this problem and fixed it this way. Check it out at Getting started jagregory/fluent-nhibernate Wiki GitHub
commented Feb 27, 2016 by Fromfrom (1,160 points)
I had this this issue too
0 votes
answered Apr 2, 2016 by Jnlwork (1,290 points)
A bit more information on that at Logging with NHibernate - Wyndham
It should be obvious from there what went wrong
commented Apr 2, 2016 by Abg4103 (960 points)
Everything will work fine I guess
0 votes
answered May 9, 2016 by Vgf4304 (260 points)
There is a very good tutorial for solving that problem on this website. When u make a request for the other page callback is used by the server
commented May 10, 2016 by gel_Add (100 points)
The solution is outlined here

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!