Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3544

accumulo-start uses log4j before it is initialized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • start
    • None

    Description

      Classes in the accumulo-start module appear to incorrectly use the log4j system before it is properly initialized.

      ACCUMULO-2628 appears to have introduced it to start's Main class, but it looks like it's been around awhile in the AccumuloClassLoader and the new vfs class loader.

      The output of these loggers will probably not go where we expect them to go, based on our custom log4j configuration files... certainly not before we execute the code to initialize log4j based on those configuration files. Hopefully, they will default to the console logger and get logged to the .out and .err files, but if there's a log4j.properties or log4j.xml file in the classpath, they could redirect these errors to somewhere else and we may not see them.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ctubbsii Christopher Tubbs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: