Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 68832 invoked from network); 15 Feb 2006 19:44:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Feb 2006 19:44:11 -0000 Received: (qmail 63030 invoked by uid 500); 15 Feb 2006 19:44:10 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 62988 invoked by uid 500); 15 Feb 2006 19:44:09 -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 62976 invoked by uid 99); 15 Feb 2006 19:44:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2006 11:44:09 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [72.18.241.180] (HELO mx) (72.18.241.180) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 15 Feb 2006 11:44:08 -0800 Received: from us-red-exch1.monosphere.com ([10.0.1.17]) by mx (SMSSMTP 4.1.9.35) with SMTP id M2006021511434620467 for ; Wed, 15 Feb 2006 11:43:46 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C63268.AD5B0E32" Subject: Question: Changing Log Settings in run time Date: Wed, 15 Feb 2006 11:47:24 -0800 Message-ID: <38574EDE453F21478FDD461D4F16550907A212@us-red-exch1.monosphere.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Question: Changing Log Settings in run time Thread-Index: AcYyaKRRpvp07jqOQZK+RwTjDsxIlw== From: "Oded Ouaknine" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C63268.AD5B0E32 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Is there a way to change the log settings after application started? =20 Log Settings are loaded from App.Config file. =20 I would like to change the log level according to user selection while the application runs. So if he selected info and error, I will only output those. =20 And then, once he changed that, is there a way to persist his selection without manipulating the XML file myself? =20 Thank you =20 Oded ------_=_NextPart_001_01C63268.AD5B0E32 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Is there a way to change the log settings after = application started?

 

Log Settings are loaded from App.Config = file.

 

I would like to change the log level according to = user selection while the application runs.

So if he selected info and error, I will only output = those.

 

And then, once he changed that, is there a way to = persist his selection without manipulating the XML file = myself?

 

Thank you

 

Oded

------_=_NextPart_001_01C63268.AD5B0E32--