[logback-dev] [qos-ch/logback] b9e60b: exit from SocketReceiver.run when executor rejects...
Carl Harris
ceharris at vt.edu
Wed May 1 12:44:12 CEST 2013
Branch: refs/heads/master
Home: https://github.com/qos-ch/logback
Commit: b9e60b216908987a521170ff2aebb094ba29de6e
https://github.com/qos-ch/logback/commit/b9e60b216908987a521170ff2aebb094ba29de6e
Author: Carl Harris <ceharris at vt.edu>
Date: 2013-05-01 (Wed, 01 May 2013)
Changed paths:
M logback-classic/src/main/java/ch/qos/logback/classic/net/SocketReceiver.java
Log Message:
-----------
exit from SocketReceiver.run when executor rejects a task
Previously, we exited only when interrupted. But if the executor is
shutting down, there's no reason for the receiver to try to continue
running.
This was a left over from when the receiver had its own executor
service, and ExecutorService.shutdownNow was used to shut it down on
stop().
More information about the logback-dev
mailing list