Shoaib, You can use the log4net.Config.DOMConfigurator.Configure(FileInfo) method to load the log4net configuration from a specific file.
Nicko > -----Original Message----- > From: Shoaib Shakoor [mailto:[EMAIL PROTECTED] > Sent: 06 September 2004 07:25 > To: Log4NET User; [EMAIL PROTECTED] > Subject: Re: facing problem > > I have used DomConfigurator its working perfectly fine but > the problem is i want to keep all the conficurations of > Log4net in seperate file, how i can do that please give me > little help. > > Regards > Shoaib > > > On Mon, 6 Sep 2004 6:17:50 +0000, Jonathan Beeston > <[EMAIL PROTECTED]> wrote: > > Hello. > > > > In beta 8 use DOMConfigurator instead. This has been > rendered obsoloete in the CVS version, and XmlConfigurator is > used in the CVS version. Therefore, you may want to use the > CVS version and compile the code yourself. > > > > Jonathan. > > > > From: Shoaib Shakoor <[EMAIL PROTECTED]> > > Date: 2004/09/06 Mon AM 05:53:39 GMT > > To: [email protected] > > Subject: facing problem > > > > > > > > Hi > > > > I want to use XMLConfigurator in order to keep all the Log4net > > configurations in seperate file.I am using its beta 8 > version but in > > that version i am unable to find XMLConfigurator so kindly > help me in > > solving this problem. > > If there is another way to solve the problem of keeping Log4net > > configurations in other file, please let me know as soon as > possible. > > > > Regards > > Shoaib > > > > > > ----------------------------------------- > > Email provided by http://www.ntlhome.com/ > > > > >
