Re: Programatically changing the logger for NHibernate

2005-11-25 Thread Philip Nelson
--- Matthew Brown <[EMAIL PROTECTED]> wrote: > Why are you not using a config file? That would be the (far) easiest way... #1 - many sites/services/apps all of which have to have the config file changed when a version update happens. Really annoying #2 - by putting in source, and by programatic

Re: Programatically changing the logger for NHibernate

2005-11-25 Thread Matthew Brown
Why are you not using a config file? That would be the (far) easiest way...On 11/25/05, Philip Nelson <[EMAIL PROTECTED] > wrote:I had added a configuration that built my loggers in code only and all was well (no xml!). Later though, I found out that NHibernate is doing something bad,logging except

Programatically changing the logger for NHibernate

2005-11-25 Thread Philip Nelson
I had added a configuration that built my loggers in code only and all was well (no xml!). Later though, I found out that NHibernate is doing something bad, logging exceptions with log.Error. These exceptions are handled by the caller, so I really don't want those log calls made at all. No problem,