org/sonews/daemon/command/PostCommand.java
changeset 15 f2293e8566f5
parent 12 bb6990c0dd1a
child 18 7e527fdf0fa8
     1.1 --- a/org/sonews/daemon/command/PostCommand.java	Thu Aug 20 16:57:38 2009 +0200
     1.2 +++ b/org/sonews/daemon/command/PostCommand.java	Thu Aug 20 18:41:21 2009 +0200
     1.3 @@ -226,7 +226,7 @@
     1.4        default:
     1.5        {
     1.6          // Should never happen
     1.7 -        Log.msg("PostCommand::processLine(): already finished...", false);
     1.8 +        Log.get().severe("PostCommand::processLine(): already finished...");
     1.9        }
    1.10      }
    1.11    }
    1.12 @@ -252,7 +252,7 @@
    1.13        }
    1.14        catch(StorageBackendException ex)
    1.15        {
    1.16 -        Log.msg(ex, false);
    1.17 +        Log.get().severe(ex.toString());
    1.18          conn.println("500 internal server error");
    1.19        }
    1.20      }
    1.21 @@ -274,7 +274,7 @@
    1.22      }
    1.23      catch(StorageBackendException ex)
    1.24      {
    1.25 -      Log.msg(ex, false);
    1.26 +      Log.get().severe(ex.toString());
    1.27        conn.println("500 internal server error");
    1.28      }
    1.29    }
    1.30 @@ -338,7 +338,7 @@
    1.31        }
    1.32        catch(AddressException ex)
    1.33        {
    1.34 -        Log.msg(ex.getMessage(), true);
    1.35 +        Log.get().warning(ex.getMessage());
    1.36          conn.println("441 invalid sender address");
    1.37        }
    1.38        catch(MessagingException ex)