Hi,

 

I just wanted to float the idea of using a Common.Logging abstraction for
NHibernate.

 

http://netcommon.sourceforge.net/index.html

 

Personally, I've been frustrated by NHibernate's dependency on log4net for a
long time.  I use NLog for all my logging in all my apps, and it would be
nice to consolidate NHibernate's logging onto the same logging
infrastructure that my application uses.

 

I don't see any benefit of having two separate logging infrastructures and I
think NH developers should have the freedom to choose their logging
implementation.

 

Benefits are:

1) I can configure the logging in NHibernate to use log4net or NLog.

2) We get more control over logging.

3) Impact of switching to Common.Logging should be minimal.

 

I just wanted to float the idea with all of you to gauge whether or not you
like the idea.  If it's worth exploring, I'll be willing to work on a patch
with Common.Logging.

 

Thanks,

Brian

 

 


----------------------------------------------
Brian Chavez
Bit Armory, Inc.
 <http://www.bitarmory.com> http://www.bitarmory.com

 

Reply via email to