Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 70469 invoked from network); 20 Jun 2006 16:07:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jun 2006 16:07:42 -0000 Received: (qmail 10272 invoked by uid 500); 20 Jun 2006 16:07:40 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 10251 invoked by uid 500); 20 Jun 2006 16:07:40 -0000 Mailing-List: contact log4net-user-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET User" List-Id: Delivered-To: mailing list log4net-user@logging.apache.org Received: (qmail 10239 invoked by uid 99); 20 Jun 2006 16:07:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jun 2006 09:07:40 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of tinhuty@hotmail.com designates 65.54.224.46 as permitted sender) Received: from [65.54.224.46] (HELO hotmail.com) (65.54.224.46) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jun 2006 09:07:39 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 20 Jun 2006 09:07:18 -0700 Message-ID: Received: from 65.54.224.200 by by105fd.bay105.hotmail.msn.com with HTTP; Tue, 20 Jun 2006 16:07:15 GMT X-Originating-IP: [208.215.236.240] X-Originating-Email: [tinhuty@hotmail.com] X-Sender: tinhuty@hotmail.com From: "tinhuty he" To: log4net-user@logging.apache.org Subject: RE: different application read some config file Date: Tue, 20 Jun 2006 11:07:15 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 20 Jun 2006 16:07:18.0791 (UTC) FILETIME=[9AF37170:01C69483] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks. = = = Original message = = = 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:tinhuty@hotmail.com] Sent: 20. juni 2006 17:09 To: log4net-user@logging.apache.org 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 �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/