I would like to heavily customize my NHibernate logging for performance diagnosis reasons. Is there a resource of all of the available loggers? Even better would be a resource describing what each logger logs at the various log levels.
views:
31answers:
2
+2
A:
One suggestion would be to examine the source for nhibernate itself; the folder / namespace hierarchy should give you a rough idea of the available loggers.
DanP
2010-07-21 19:48:44
A:
One possibility is to setting a logger for "NHibernate" and log all messages for a few sessions. I did this and was able to see a lot of hierarchal loggers (especially configuration and connection), but the stuff under "NHibernate.SQL" was notably missing. I suppose there is a weird log4net hierarchy configuration somewhere in there.
Joseph Daigle
2010-07-22 01:38:20