1.1 --- a/org/sonews/daemon/ChannelWriter.java Fri Jun 26 16:48:50 2009 +0200
1.2 +++ b/org/sonews/daemon/ChannelWriter.java Mon Aug 24 13:00:05 2009 +0200
1.3 @@ -123,7 +123,7 @@
1.4 }
1.5 catch (IOException ex)
1.6 {
1.7 - Log.msg("Error writing to channel: " + ex, false);
1.8 + Log.get().warning("Error writing to channel: " + ex);
1.9
1.10 // Cancel write events for this channel
1.11 selKey.cancel();
1.12 @@ -137,7 +137,7 @@
1.13 }
1.14 catch(CancelledKeyException ex)
1.15 {
1.16 - Log.msg("ChannelWriter.run(): " + ex, true);
1.17 + Log.get().info("ChannelWriter.run(): " + ex);
1.18 }
1.19 catch(Exception ex)
1.20 {
1.21 @@ -192,14 +192,14 @@
1.22 }
1.23 else
1.24 {
1.25 - Log.msg("Invalid OP_WRITE key: " + selKey, false);
1.26 + Log.get().warning("Invalid OP_WRITE key: " + selKey);
1.27
1.28 - if (socketChannel.socket().isClosed())
1.29 + if(socketChannel.socket().isClosed())
1.30 {
1.31 connection.shutdownInput();
1.32 connection.shutdownOutput();
1.33 socketChannel.close();
1.34 - Log.msg("Connection closed.", true);
1.35 + Log.get().info("Connection closed.");
1.36 }
1.37 }
1.38 }