Return-Path: X-Original-To: apmail-logging-log4j-dev-archive@www.apache.org Delivered-To: apmail-logging-log4j-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E98AE18197 for ; Fri, 15 May 2015 17:52:01 +0000 (UTC) Received: (qmail 55399 invoked by uid 500); 15 May 2015 17:52:01 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 55354 invoked by uid 500); 15 May 2015 17:52:01 -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 55344 invoked by uid 99); 15 May 2015 17:52:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 May 2015 17:52:01 +0000 Date: Fri, 15 May 2015 17:52:01 +0000 (UTC) From: "Gary Gregory (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LOG4J2-1015) Add a way to route messages based on the %marker in Layout for RoutingAppender MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LOG4J2-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545867#comment-14545867 ] Gary Gregory commented on LOG4J2-1015: -------------------------------------- A new feature for 2.4? > Add a way to route messages based on the %marker in Layout for RoutingAppender > ------------------------------------------------------------------------------ > > Key: LOG4J2-1015 > URL: https://issues.apache.org/jira/browse/LOG4J2-1015 > Project: Log4j 2 > Issue Type: New Feature > Components: Appenders > Affects Versions: 2.2 > Reporter: Daniel Marcotte > > Hi, > It seems there's no way to route messages based on the Marker in the RoutingAppender. The "%marker" is not part of the Layout. When using SLF4J, since it's a core feature of the facade, this would help greatly if it was possible to route messages based on the Marker. > Main StackOverFlow question (still unanswered) : http://stackoverflow.com/questions/30111754/log4j2-is-there-a-way-to-route-logs-based-on-marker-with-the-routingappender > Workaround StackOverFlow question (answered) : http://stackoverflow.com/questions/30247323/how-to-create-custom-rewritepolicy-in-log4j2 > Thank you -- 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