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

log4j2 creates 2 threads per each log attempt if the remote flume agent goes down

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0-beta5
    • None
    • Flume Appender
    • None

    Description

      Steps to reproduce (use attached Maven project):

      1. Start your remote flume agent
      2. Run the Maven project and attach to it with the debugger in your favourite IDE (I use NetBeans)
      3. Kill your remote flume agent
      4. Rapidly press enter

      Each time you press Enter, 2 new threads show up. See the attached screenshot. Notice the panel on the left is littered with new threads. I was pressing Enter rapidly for 30 seconds.

      NOTE: This also happens if the remote flume agent hasn't been started at all.

      Attachments

        1. zzzzzzzzzzzzzzzzzTest.tar.gz
          7 kB
          offbynull
        2. Screenshot.png
          180 kB
          offbynull

        Issue Links

          Activity

            People

              Unassigned Unassigned
              offbynull offbynull
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: