One gotcha for this type of thing is to make sure to add the XmlConfigurator
attribute to the assembly by placing the following line in your AssemblyInfo.cs
:
[assembly: log4net.Config.XmlConfigurator]
Otherwise log4net never activates.
One gotcha for this type of thing is to make sure to add the XmlConfigurator
attribute to the assembly by placing the following line in your AssemblyInfo.cs
:
[assembly: log4net.Config.XmlConfigurator]
Otherwise log4net never activates.