Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-371

Provide an appender similar to log4js AsyncAppender

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.0.4
    • None
    • logback-classic
    • None

    Description

      We're using log4j successfully in financial B2B / B2C web applications for years. Now we would like to adopt Logback but therefore we need support for an asynchronous appender decorator like log4js AsyncAppender.

      Attached you can find my take on this kind of appender cobbled together from ideas and code from various places:

      Attachments

        1. 0001-Addition-of-AsyncAppender-class-and-tests.patch
          31 kB
          Gordon Sims
        2. AsyncAppender_logback-test.xml
          0.6 kB
          Torsten Juergeleit
        3. AsyncAppender.java
          12 kB
          Torsten Juergeleit
        4. AsyncAppenderInitializationTest.java
          2 kB
          Torsten Juergeleit
        5. AsyncAppenderTest.java
          11 kB
          Torsten Juergeleit

        Activity

          People

            ceki Ceki Gülcü
            tjuerge Torsten Juergeleit
            Votes:
            16 Vote for this issue
            Watchers:
            18 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: