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

1.3.0-alpha4 LoggerContext's ExecutorService no longer executes

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.3.0-alpha4
    • logback-classic
    • None
    • Windows 10, Java 8, Running in JUnit tests in IntelliJ

       

    Description

      LoggerContext provides an ExecutorService. I am using this to start a TCP appender similar to the one provided by logback.

      Context context = new LoggerContext();ExecutorService ses = context.getExecutorService();ses.submit(() -> System.out.println("ScheduledExecutorService running"));

      Would print the text.

      Running with 1.3.0-alpha4 version, the lambda is no longer executed

       

      N.B.  context.getExecutorService() has been deprecated the same applies to context.getScheduledExecutorService()



      Attachments

        Activity

          People

            logback-dev Logback dev list
            teknopaul paul hinds
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: