[prev in list] [next in list] [prev in thread] [next in thread]
List: log4net-user
Subject: RE: different application read some config file
From: "tinhuty he" <tinhuty () hotmail ! com>
Date: 2006-06-20 16:07:15
Message-ID: BAY105-F367FCEDD68A13DEA5D05DFAC870 () phx ! gbl
[Download RAW message or body]
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/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic