Return-Path: X-Original-To: apmail-logging-commits-archive@minotaur.apache.org Delivered-To: apmail-logging-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC86510302 for ; Wed, 7 Aug 2013 13:33:00 +0000 (UTC) Received: (qmail 61484 invoked by uid 500); 7 Aug 2013 13:33:00 -0000 Delivered-To: apmail-logging-commits-archive@logging.apache.org Received: (qmail 61052 invoked by uid 500); 7 Aug 2013 13:32:58 -0000 Mailing-List: contact commits-help@logging.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@logging.apache.org Delivered-To: mailing list commits@logging.apache.org Received: (qmail 60520 invoked by uid 99); 7 Aug 2013 13:32:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 13:32:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 13:32:56 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id C1C0823888E4; Wed, 7 Aug 2013 13:32:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1511303 - /logging/log4net/trunk/src/Core/LoggingEvent.cs Date: Wed, 07 Aug 2013 13:32:36 -0000 To: commits@logging.apache.org From: dpsenner@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130807133236.C1C0823888E4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dpsenner Date: Wed Aug 7 13:32:36 2013 New Revision: 1511303 URL: http://svn.apache.org/r1511303 Log: LOG4NET-205 fixed LoggingEvent to put the UserNameProperty and the IdentityProperty into the composite properties dictionary This way the PropertyFilter can look up and filter by UserName and Identity. Modified: logging/log4net/trunk/src/Core/LoggingEvent.cs Modified: logging/log4net/trunk/src/Core/LoggingEvent.cs URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/Core/LoggingEvent.cs?rev=1511303&r1=1511302&r2=1511303&view=diff ============================================================================== --- logging/log4net/trunk/src/Core/LoggingEvent.cs (original) +++ logging/log4net/trunk/src/Core/LoggingEvent.cs Wed Aug 7 13:32:36 2013 @@ -1335,6 +1335,12 @@ namespace log4net.Core // TODO: Add Repository Properties + // event properties + PropertiesDictionary eventProperties = new PropertiesDictionary(); + eventProperties[UserNameProperty] = UserName; + eventProperties[IdentityProperty] = Identity; + m_compositeProperties.Add(eventProperties); + m_compositeProperties.Add(GlobalContext.Properties.GetReadOnlyProperties()); }