You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Remko Popma (JIRA)" <ji...@apache.org> on 2014/08/11 05:25:12 UTC
[jira] [Reopened] (LOG4J2-769) Startup takes a long time if you
have empty packages attribute
[ https://issues.apache.org/jira/browse/LOG4J2-769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Remko Popma reopened LOG4J2-769:
--------------------------------
Re-opening for regression in revision 1617171:
{{PluginManager.addPackages(Collection<String> packages)}} checks that the collection is not empty but does not check if it contains empty strings.
> 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