logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tinhuty he" <tinh...@hotmail.com>
Subject RE: different application read some config file
Date Tue, 20 Jun 2006 16:07:15 GMT
Thanks.

= = = Original message = = =

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:tinhuty@hotmail.com]
Sent: 20. juni 2006 17:09
To: log4net-user@logging.apache.org
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.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


Mime
View raw message