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 CB1B2F18C for ; Sun, 21 Apr 2013 07:55:18 +0000 (UTC) Received: (qmail 43051 invoked by uid 500); 21 Apr 2013 07:55:18 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 42845 invoked by uid 500); 21 Apr 2013 07:55:17 -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 42810 invoked by uid 99); 21 Apr 2013 07:55:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Apr 2013 07:55:16 +0000 Date: Sun, 21 Apr 2013 07:55:16 +0000 (UTC) From: "Tom Hegermann (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LOG4J2-192) ${env:...} is not replaced in fileName 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-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13637501#comment-13637501 ] Tom Hegermann commented on LOG4J2-192: -------------------------------------- I also attached my log4j2.xml including the relevant lines and a screenshot which shows the created file when running the Java program. > ${env:...} is not replaced in fileName > -------------------------------------- > > Key: LOG4J2-192 > URL: https://issues.apache.org/jira/browse/LOG4J2-192 > Project: Log4j 2 > Issue Type: Bug > Affects Versions: 2.0-beta4 > Reporter: Tom Hegermann > Priority: Minor > Attachments: created_file.png, log4j2.xml, log4j2.xml, TestEnvVar.java > > > The variable ${env:...} is not replaced in the fileName attribute in RollingFileAppender whereas it is replaced in the attribute filePattern correctly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org