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 C31E4DBF8 for ; Sat, 18 May 2013 15:49:15 +0000 (UTC) Received: (qmail 20421 invoked by uid 500); 18 May 2013 15:49:16 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 20381 invoked by uid 500); 18 May 2013 15:49:16 -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 20370 invoked by uid 99); 18 May 2013 15:49:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 May 2013 15:49:16 +0000 Date: Sat, 18 May 2013 15:49:15 +0000 (UTC) From: "Scott Deboy (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LOG4J2-241) Support the ability to trim logger name from the right. 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-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13661381#comment-13661381 ] Scott Deboy commented on LOG4J2-241: ------------------------------------ This already exists in log4j extras. we should cull extras for other things that can be pulled over: http://svn.apache.org/viewvc?view=revision&revision=r1481783 > Support the ability to trim logger name from the right. > ------------------------------------------------------- > > Key: LOG4J2-241 > URL: https://issues.apache.org/jira/browse/LOG4J2-241 > Project: Log4j 2 > Issue Type: Improvement > Affects Versions: 2.0-beta6 > Reporter: Kurt Lehrke > Priority: Minor > > In log4j2, there doesn't seem to be a way to trim the logger name from the right. I have a situation where our logger names can be extremely large, even when only using the class name. We'd like to trim it down to a certain number of characters (e.g. 10). When reading trace files, the 10 beginning characters would be more unique than the last 10 characters. This would be extremely useful for us to be able to do in the configuration file in the pattern layout. -- 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