Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-769

Startup takes a long time if you have empty packages attribute

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2
    • None
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rpopma Remko Popma
            seh4nc Scott Harrington
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment