Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 50652 invoked from network); 30 Jun 2005 18:28:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Jun 2005 18:28:26 -0000 Received: (qmail 2613 invoked by uid 500); 30 Jun 2005 18:28:25 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 2528 invoked by uid 500); 30 Jun 2005 18:28:24 -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 2514 invoked by uid 99); 30 Jun 2005 18:28:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jun 2005 11:28:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of wweems@gmail.com designates 64.233.170.196 as permitted sender) Received: from [64.233.170.196] (HELO rproxy.gmail.com) (64.233.170.196) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jun 2005 11:28:26 -0700 Received: by rproxy.gmail.com with SMTP id a41so163383rng for ; Thu, 30 Jun 2005 11:28:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=DxrBUicdHG0ybjqgyy6gaWk376dwxnvjeUxM+YH6jCGXr8qRbAwf3WG4K2toUChIqSyjwbD73uAiNJ9gDKk5OoGVIkdaJ+CWd//EOGHjYeDeYrCBvEEwQknCQX1tP0Jz7kzOXsd3GNVQpRUTnQM7zmyWhJiUep0AMa9fyg/Frxg= Received: by 10.38.13.43 with SMTP id 43mr848480rnm; Thu, 30 Jun 2005 11:28:23 -0700 (PDT) Received: by 10.38.24.21 with HTTP; Thu, 30 Jun 2005 11:28:23 -0700 (PDT) Message-ID: Date: Thu, 30 Jun 2005 11:28:23 -0700 From: Weston Weems Reply-To: Weston Weems To: Log4NET User Subject: Which context should I use? Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I've got a few logging routines that are going to only store info pertinent to that exact application event... Eg, login failed event will need username the person typed in etc... but dont want that value to be in global context. What would be the best method... to use log4net.core.LoggingEvent context? And documentation says: %property{name} syntax in the layoutpattern, except whats the property and whats the name? Sorry for sounding like a newb, I'm trying to ask intelligent, researched questions Thanks Weston