My facility configuration is in code by the way:
WindsorContainer.AddFacility("facility.logging", new LoggingFacility
(LoggerImplementation.Log4net))

On May 20, 2:20 pm, George Mauer <[email protected]> wrote:
> I have never used log4net before nor the windsor logging facility, I
> have gotten the logging facility to work with the console logger and
> now am trying to set it up with log4net and hitting a roadblock.
> Going off the information in this 
> article:http://mikehadlow.blogspot.com/2008/06/more-windsor-love-using-log4ne...
> and this earlier 
> post:http://groups.google.com/group/castle-project-users/browse_thread/thr...
>
> I have set up this attribute in my AssemblyInfo.cs file
> [assembly: log4net.Config.XmlConfigurator(Watch = true)]
>
> and this is my current App.config :http://pastebin.com/f77d62a4c
>
> Yet nothing appears and I break and inspect my Logger property I see
> that it is populated with
> {log4net.Repository.Hierarchy.DefaultLoggerFactory+LoggerImpl}
> Castle.Core.Logging.ILogger
> {Castle.Services.Logging.Log4netIntegration.Log4netLogger}
>                 IsDebugEnabled  false   bool
>                 IsErrorEnabled  false   bool
>                 IsFatalEnabled  false   bool
>                 IsFatalErrorEnabled     false   bool
>                 IsInfoEnabled   false   bool
>                 IsWarnEnabled   false   bool
>
> Seems like  IsDebugEnabled is not being set.  But why?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to