[logback-dev] [qos-ch/logback] 6fee48: perform an orderly shutdown of context's executor ...

Carl Harris ceharris at vt.edu
Mon Apr 29 12:21:15 CEST 2013


  Branch: refs/heads/LOGBACK-849
  Home:   https://github.com/qos-ch/logback
  Commit: 6fee4885d6b7b9492360a79bc1230b78aba248b9
      https://github.com/qos-ch/logback/commit/6fee4885d6b7b9492360a79bc1230b78aba248b9
  Author: Carl Harris <ceharris at vt.edu>
  Date:   2013-04-29 (Mon, 29 Apr 2013)

  Changed paths:
    M logback-core/src/main/java/ch/qos/logback/core/ContextBase.java

  Log Message:
  -----------
  perform an orderly shutdown of context's executor service

Now we start by calling executorService.shutdown and allowing some time
for running tasks to finish before using executorService.shutdownNow to
interrupt those that remain.  Assuming that all tasks either terminate
reasonably quickly or properly respond to interrupt, this approach
should ensure that no tasks remain.


  Commit: ef18caa458a474786d890c850f693218a8986f38
      https://github.com/qos-ch/logback/commit/ef18caa458a474786d890c850f693218a8986f38
  Author: Carl Harris <ceharris at vt.edu>
  Date:   2013-04-29 (Mon, 29 Apr 2013)

  Changed paths:
    M logback-classic/src/test/java/ch/qos/logback/classic/turbo/ReconfigureOnChangeTest.java

  Log Message:
  -----------
  account for shutdown delay in reconfigure-on-change tests


Compare: https://github.com/qos-ch/logback/compare/63985bd4cafa...ef18caa458a4


More information about the logback-dev mailing list