org/sonews/daemon/Connections.java
changeset 15 f2293e8566f5
parent 3 2fdc9cc89502
child 25 dd05c3f2fa24
     1.1 --- a/org/sonews/daemon/Connections.java	Thu Aug 20 16:57:38 2009 +0200
     1.2 +++ b/org/sonews/daemon/Connections.java	Thu Aug 20 18:41:21 2009 +0200
     1.3 @@ -147,12 +147,12 @@
     1.4              {
     1.5                // Close the channel; implicitely cancels all selectionkeys
     1.6                channel.close();
     1.7 -              Log.msg("Disconnected: " + channel.socket().getRemoteSocketAddress() +
     1.8 -                " (timeout)", true);
     1.9 +              Log.get().info("Disconnected: " + channel.socket().getRemoteSocketAddress() +
    1.10 +                " (timeout)");
    1.11              }
    1.12              catch(IOException ex)
    1.13              {
    1.14 -              Log.msg("Connections.run(): " + ex, false);
    1.15 +              Log.get().warning("Connections.run(): " + ex);
    1.16              }
    1.17  
    1.18              // Recycle the used buffers
    1.19 @@ -169,7 +169,7 @@
    1.20        }
    1.21        catch(InterruptedException ex)
    1.22        {
    1.23 -        Log.msg("Connections Thread was interrupted: " + ex.getMessage(), false);
    1.24 +        Log.get().warning("Connections Thread was interrupted: " + ex.getMessage());
    1.25        }
    1.26      }
    1.27    }