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

Log4j2 loading time on single-board (embedded) computers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-rc1
    • None
    • API
    • None
    • Using ejre1.6.0_25 in an ARM926EJ-S rev 5 (v5l)

    Description

      Everything runs fine on the Desktop computer, but the embedded system struggles to obtain the Logger.

      It takes 17 seconds just to run this line:
      Logger logger = LogManager.getLogger("testLogger");

      The classpath is empty and the whole applications is just:
      public static void main(String[] arg)

      { System.out.println("Starting application:" + System.currentTimeMillis()); Logger logger = LogManager.getLogger("testLogger"); logger.trace("Going to leave application." + System.currentTimeMillis()); System.exit(1); }

      The same system is able to run a client graphic application without this kind of event.

      Attachments

        Activity

          People

            Unassigned Unassigned
            matutano Tiago Cardoso
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: