That's is a good idea Fabio.  I think it would be great, as long as
NHibernate log/trace output does not go to the "output window" in visual
studio when debugging. Otherwise it would be chaos in that window :P

BTW Tuna, for what it's worth, I got a response from Common.Logging dev
list:

Hi,

Yes it is still active, I founded the project and do most of the
development, Bruno Baia is another developer on the project.  I'd be quite
happy to use this opportunity to make a new release of Commons.Logging that
addresses the remaining open issues.  Are there other feature requests that
would be specific to NHibernate adopting Common.Logging?  As for the 'when',
starting in the 2nd week of November I'll have time to address these issues,
I don't think they will take long to fix.

Cheers,
Mark

 


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


-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Wagner
Sent: Wednesday, October 29, 2008 4:47 AM
To: [email protected]
Subject: [nhibernate-development] Re: NH Logging Abstraction


So maybe it would the best if the dependency of log4net gets removed and
would be replaced with a simple and similar interface which per default
redirects all logging to System.Diagnostics. So a logging without an
additional libs is possible.

And then there could be a contrib project which provides adapters for
log4net and NLog. And all are happy :-)

Tuna Toksöz schrieb:
> Well, we'll anyway need to abstract it, we'd prefer dependency only on
.net
> FW.
> 
> 
> On Tue, Oct 28, 2008 at 10:47 PM, Brian Chavez
<[EMAIL PROTECTED]>wrote:
> 
>>  Well, the last release for log4net (1.2.10) was sometime in 2006
>> according to:
>>
>>
>>
>> http://svn.apache.org/viewvc?view=rev&sortdir=down&revision=395324
>>
>>
>>
>> http://jira.nhibernate.org/browse/NH-696
>>
>>
>>
>> The last release for NLog was also in 2006.
>>
>>
>>
>> I suppose, the release cycle for logging frameworks don't change much.
>>
>>
>>
>> I'll shoot an email over to their mailing list to see if their still
>> active.
>>
>>
>>
>>
>> ----------------------------------------------
>> Brian Chavez
>> Bit Armory, Inc.
>> http://www.bitarmory.com
>>
>>
>>
>> *From:* [email protected] [mailto:
>> [EMAIL PROTECTED] *On Behalf Of *Tuna Toksöz
>> *Sent:* Tuesday, October 28, 2008 12:55 PM
>>
>> *To:* [email protected]
>> *Subject:* [nhibernate-development] Re: NH Logging Abstraction
>>
>>
>>
>> I don't know how much it is of importance but that project has its latest
>> release on 10/10/2007.
>>
>> What do you guys think, is it dead or active?
>>
>> On Tue, Oct 28, 2008 at 9:38 PM, Brian Chavez <[EMAIL PROTECTED]>
>> wrote:
>>
>> JIRA created:
>>
>>
>>
>> http://jira.nhibernate.org/browse/NH-1554
>>
>>
>>
>>
>>
>>
>> ----------------------------------------------
>> Brian Chavez
>> Bit Armory, Inc.
>> http://www.bitarmory.com
>>
>>
>>
>> *From:* [email protected] [mailto:
>> [EMAIL PROTECTED] *On Behalf Of *Fabio Maulo
>> *Sent:* Tuesday, October 28, 2008 5:42 AM
>>
>>
>> *To:* [email protected]
>> *Subject:* [nhibernate-development] Re: NH Logging Abstraction
>>
>>
>>
>> Yes, Steve.
>>
>> You know that we love DependencyInjection and less couple with other FW.
>>
>>
>>
>> At the end... do somebody had created a JIRA ?
>>
>> 2008/10/28 Steve Wagner <[EMAIL PROTECTED]>
>>
>>
>> Fabio Maulo schrieb:
>>
>>> BTW I don't understand which is the problem, or where NLog is better
than
>>> log4net, or why a NH-user may have so many problems because NH are using
>>> log4net...
>> A lot people say that the only reason they using log4net is because a
>> lot of library's use log4net too. But they find the configuration of
>> NLog much better then log4net.
>>
>> So a switch to Common.Logging or i little custom wrapper is a good
>> suggestion i think.
>>
>> Steve
>>
>>
>>
>>
>> --
>> Fabio Maulo
>>
>>
>>
>>
>> --
>> Tuna Toksöz
>>
>> Typos included to enhance the readers attention!
>>
> 
> 
> 

Reply via email to