msof msof - 1 year ago 160
C# Question

using log4net in .net c# library which is used by webservice app hosted in IIS

we have .net webservice hosted in IIS.
The webservice using a library for socket communication to send and receive data from another tcp server.
The webservice using log4net (in web.config) for logging but there is no logging for the library.
Can we use a separate log4net for the library or how to use log4net for the library to log the details.

Answer Source

Followed as per the instruction posted in Configure log4net logging in dll But at present both ws and lib logs written in the same log file.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download