Hi,
I'm using NHibernate in a project which uses Log4Net and the logging all worked out-of-the-box :-)
My problem is that it seems to log every single select statement at INFO level. In my application I followed what I believe to be standard practice of using INFO to report events which, whilst not a warning, are significant (e.g. system started up, user was timed out) and I use DEBUG when I want to generate masses of trace output about every little thing that's going on.
Is there any way to change the verbosity of the NHibernate logging so it uses the DEBUG level to log every SQL statement and INFO only for more interesting information?
Thanks
|