You can create a common layer dll to be referenced by other all dll files. Then in this common file, there is a public class:
public class Log{ private log=ILog.Logger...........//Log4Net interface. //open the log interface from here public void DEBUG(string strlog) { log.Debug(strlog); } public void FATEL(string strlog) { log.Fater(strlog); } public void ERROR(string strlog) { log.Error(strlog); } ....... //Other interfaces.. } 2007/10/24, Erlis Vidal <[EMAIL PROTECTED]>: > > > > Hi everyone! > > > > I want to configure log4net in order to use the same configuration file > (with the watch option active) in my n-tier application! > > > > I have the following structure in my solution: > > > > Website (as a web application project) > > Business (as a class library project) > > Data (as a class library project) > > Test (as a class library project) > > > > I want to be able to log messages in any of those layers using the same > log4net configuration file... > > Can you provide any suggestion for the right configuration? > > > > Regards, > > Erlis