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 EF8FC200ACB for ; Mon, 9 May 2016 06:41:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EE484160A06; Mon, 9 May 2016 04:41:14 +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 6A9DD160A07 for ; Mon, 9 May 2016 06:41:14 +0200 (CEST) Received: (qmail 30554 invoked by uid 500); 9 May 2016 04:41:13 -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 30537 invoked by uid 99); 9 May 2016 04:41:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 May 2016 04:41:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D58162C1F64 for ; Mon, 9 May 2016 04:41:12 +0000 (UTC) Date: Mon, 9 May 2016 04:41:12 +0000 (UTC) From: "Remko Popma (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (LOG4J2-1381) Documentation for LoggerNameLevelRewritePolicy is wrong MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 09 May 2016 04:41:15 -0000 Remko Popma created LOG4J2-1381: ----------------------------------- Summary: Documentation for LoggerNameLevelRewritePolicy is wrong Key: LOG4J2-1381 URL: https://issues.apache.org/jira/browse/LOG4J2-1381 Project: Log4j 2 Issue Type: Bug Components: Documentation Affects Versions: 2.5 Reporter: Remko Popma Fix For: 2.6 The docs for [LoggerNameLevelRewritePolicy |http://logging.apache.org/log4j/2.x/manual/appenders.html#RewriteAppender] are wrong: * property {{loggerName}} (both in the parameter table and in the example configuration): looking at the code, this should be {{logger}} instead. (Or should the code be modified to match the docs instead?) * property {{LevelPair}} (in the parameter table) should be {{KeyValuePair}} instead. The example configuration is correct here. -- 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