« Return to Thread: Conigure log4net for .net dll

Conigure log4net for .net dll

by Debashish :: Rate this Message:

Reply to Author | View in Thread

Hi
I am developing a ClassLibrary in C#(VS2008).
I have refernce to log4net.dll.
This DLL has only one function which will log a
string using log4net.
My AssemblyInfo.cs has the following entry:
[assembly: log4net.Config.XmlConfigurator()]
I use this above dll in a WINForms application.

The problem is log4net is not logging any information.

Appreciate help.

 « Return to Thread: Conigure log4net for .net dll