Verrrry cool! First thing I'll try in the morning! Thanks! 2009/7/7 John Simons <[email protected]>
> For (1), you can name the logger your full namespace or starts with, eg: > If you have 3 namespaces: > MyName.Web.Controls > MyName.Web.Controllers > MyName.Web.Helpers > > Then, > <logger name="MyName.Web"> > <level value="Info" /> > <appender-ref ref="DebugAppender" /> > <appender-ref ref="MyAppRollingFileAppender" /> > </logger> > > > for (2) you can create a logger named "NHibernate" with its own appenders, > eg: > > <logger name="NHibernate"> > <level value="Error" /> > <appender-ref ref="DebugAppender" /> > <appender-ref ref="NHibernateRollingFileAppender" /> > </logger> > > Cheers > John > > ------------------------------ > *From:* Jan Limpens <[email protected]> > *To:* castle-project-users <[email protected]> > *Sent:* Wednesday, 8 July, 2009 8:29:44 AM > *Subject:* log4 net facility config > > Can the logging facility be configured to > > 1) not use the log4net root, but a named logger and > 2) not capture nhibernate logging (which I want to log separately and at a > different level)? > > thanks! > > -- > Jan > > > > ------------------------------ > Access Yahoo!7 Mail on your mobile. Anytime. Anywhere. Show me > how<http://au.rd.yahoo.com/mail/mobile/tagline/*http://au.mobile.yahoo.com/mail> > . > > > -- Jan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
