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/10 09:14:11 UTC

[jira] [Resolved] (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 resolved LOG4J2-769.
--------------------------------

    Resolution: Fixed

Prevented registration of empty package strings in revision 1617053.
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