Hi

 

Forgot to mention, you can of course to the same using the assembly directive:

[assembly: log4net.Config.XmlConfigurator(ConfigFile="c:\\MyCentraleLogConfig.xml"", Watch = true)]

 

Best regards

Georg

http://www.l4ndash.com - Log4Net Dashboard / Viewer

 

 


From: Georg Jansen [mailto:[EMAIL PROTECTED]
Sent: 20. juni 2006 17:46
To: 'Log4NET User'
Subject: RE: different application read some config file

 

Hi Tin,

 

You can configure log4net to use a centralized configuration file, for example by using the statement below:

 

 log4net.Config.XmlConfigurator.Configure(new Uri("c:\\MyCentraleLogConfig.xml"));

 

Best regards

Georg

http://www.l4ndash.com - Log4Net Dashboard / Viewer

 

 

-----Original Message-----
From: tinhuty he [mailto:[EMAIL PROTECTED]
Sent: 20. juni 2006 17:09
To: [email protected]
Subject: different application read some config file

 

I have couple programs that run on different servers. Each program uses the

same AdoNetAppender. Right now I have to have the AdoNetAppender config for

each program, though the AdoNetAppender config is exactly same for each

program.

 

Is it possible to just put one copy of AdoNetAppender config in a central

place and each program goes there to get the config? If it's possible, I can

just put the config in a network drive and I only have one copy of config to

maintain.

 

Thanks.

Tin

 

___________________________________________________________

Sent by ePrompter, the premier email notification software.

Free download at http://www.ePrompter.com.

 

_________________________________________________________________

FREE pop-up blocking with the new MSN Toolbar – get it now!

http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

Reply via email to