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 3779618FA7 for ; Mon, 26 Oct 2015 08:09:34 +0000 (UTC) Received: (qmail 40651 invoked by uid 500); 26 Oct 2015 08:09:27 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 40605 invoked by uid 500); 26 Oct 2015 08:09:27 -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 40596 invoked by uid 99); 26 Oct 2015 08:09:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Oct 2015 08:09:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A9CD42C1F56 for ; Mon, 26 Oct 2015 08:09:27 +0000 (UTC) Date: Mon, 26 Oct 2015 08:09:27 +0000 (UTC) From: "Gary Gregory (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (LOG4J2-1169) PatternLayout: Possible variable substitution in equals substitution parameter 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-1169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-1169: --------------------------------- Description: Let the substitution parameter of the equals function also substitute variables. E.g.: {noformat} %equals{%marker}{}{%msg} {noformat} should print the message if the marker is empty, currently "%msg" is appended. was: Let the substitution parameter of the equals function also substitute variables. E.g.: %equals{%marker}{}{%msg} should print the message if the marker is empty, currently "%msg" is appended. > PatternLayout: Possible variable substitution in equals substitution parameter > ------------------------------------------------------------------------------ > > Key: LOG4J2-1169 > URL: https://issues.apache.org/jira/browse/LOG4J2-1169 > Project: Log4j 2 > Issue Type: Improvement > Components: Pattern Converters > Affects Versions: 2.4.1 > Reporter: Gerald Kritzinger > Priority: Critical > > Let the substitution parameter of the equals function also substitute variables. > E.g.: > {noformat} > %equals{%marker}{}{%msg} > {noformat} > should print the message if the marker is empty, currently "%msg" is appended. -- 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