SlaveComputer closes down the log by itself.

This commit is contained in:
Kohsuke Kawaguchi committed 2011-11-15 08:56:54 -08:00
1 parent 24e99923e3
commit 0082ef89aa
1 file changed
-5
@@ -322,11 +322,6 @@ public final class TcpSlaveAgentListener extends Thread {
new Listener() {
@Override
public void onClosed(Channel channel, IOException cause) {
try {
log.close();
} catch (IOException e) {
e.printStackTrace();
}
if(cause!=null)
LOGGER.log(Level.WARNING, "Connection #"+id+" for + " + nodeName + " terminated",cause);
try {