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 E395A118C2 for ; Mon, 11 Aug 2014 14:27:13 +0000 (UTC) Received: (qmail 88510 invoked by uid 500); 11 Aug 2014 14:27:12 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 88385 invoked by uid 500); 11 Aug 2014 14:27:12 -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 88215 invoked by uid 99); 11 Aug 2014 14:27:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2014 14:27:12 +0000 Date: Mon, 11 Aug 2014 14:27:12 +0000 (UTC) From: "Remko Popma (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (LOG4J2-769) Startup takes a long time if you have empty packages attribute 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-769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma resolved LOG4J2-769. -------------------------------- Resolution: Fixed Now also ignoring empty package names in the specified collection in method {{addPackages(Collection)}}. Committed in revision 1617295. Please verify and close. > Startup takes a long time if you have empty packages attribute > -------------------------------------------------------------- > > Key: LOG4J2-769 > URL: https://issues.apache.org/jira/browse/LOG4J2-769 > Project: Log4j 2 > Issue Type: Bug > Affects Versions: 2.0.1 > Reporter: Scott Harrington > Assignee: Remko Popma > Fix For: 2.0.2 > > > If you specify packages="" in your configuration, the PluginManager searches through all classes in the CLASSPATH at startup, because split() on an empty string actually returns an array containing one empty string. -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org