Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 47F8C200B81 for ; Tue, 30 Aug 2016 02:20:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 44AF2160AC8; Tue, 30 Aug 2016 00:20:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8D765160AB8 for ; Tue, 30 Aug 2016 02:20:21 +0200 (CEST) Received: (qmail 32742 invoked by uid 500); 30 Aug 2016 00:20:20 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 32712 invoked by uid 99); 30 Aug 2016 00:20:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2016 00:20:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8BA6C2C0155 for ; Tue, 30 Aug 2016 00:20:20 +0000 (UTC) Date: Tue, 30 Aug 2016 00:20:20 +0000 (UTC) From: "Remko Popma (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LOG4J2-1010) Injectable context properties MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 30 Aug 2016 00:20:22 -0000 [ https://issues.apache.org/jira/browse/LOG4J2-1010?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D154= 47531#comment-15447531 ]=20 Remko Popma commented on LOG4J2-1010: ------------------------------------- The performance concerns Ralph raised regarding global Filters have been ad= dressed. For further reviews, may I propose that people review the {{LOG4J2-1349-gcf= ree-threadcontext}} branch instead? It has the same changes as the {{LOG4J2= -1010&LOG4J2-1447-injectable-contextdata&better-datastructure}} branch, but= in addition moved ContextData and related interfaces to org.apache.logging= .log4j.spi package in log4j-api. Without the LOG4J2-1349 changes * context data-based Filters and Lookups need to make an unnecessary copy * injecting context data into the log event needs to make an unnecessary co= py > Injectable context properties > ----------------------------- > > Key: LOG4J2-1010 > URL: https://issues.apache.org/jira/browse/LOG4J2-1010 > Project: Log4j 2 > Issue Type: Improvement > Components: Core > Affects Versions: 2.2 > Reporter: Mikael St=C3=A5ldal > Assignee: Remko Popma > Fix For: 2.7 > > Attachments: properties.patch > > > It would be useful to have a way to inject context properties into a {{Lo= gEvent}}, as an alternative to {{ThreadContext}}. > In an asynchronous environment, using ThreadContext as currently implemen= ted is not so useful since JVM threads might not be coupled to the logical = flow of the application. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org