logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remko Popma (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (LOG4J2-769) Startup takes a long time if you have empty packages attribute
Date Mon, 11 Aug 2014 03:25:12 GMT

     [ 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


Mime
View raw message