Thanks!

= = = Original message = = =

Hi

?</span>

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

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

?</span>

Best regards

Georg

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

?</span>

?</span>


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

?</span>

Hi Tin,

?</span>

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

?</span>

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

?</span>

Best regards

Georg

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

?</span>

?</span>

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

?</span>

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.

?</span>

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.

?</span>

Thanks.

Tin

?</span>

___________________________________________________________

Sent by ePrompter, the premier email notification software.

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

?</span>

_________________________________________________________________

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

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

___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

Reply via email to