org/sonews/mlgw/MailPoller.java
changeset 16 5a4a41cfc0a3
parent 8 b62fe6ed39d3
child 27 d879bab39600
     1.1 --- a/org/sonews/mlgw/MailPoller.java	Thu Aug 20 18:41:21 2009 +0200
     1.2 +++ b/org/sonews/mlgw/MailPoller.java	Thu Aug 20 21:31:03 2009 +0200
     1.3 @@ -61,7 +61,7 @@
     1.4    @Override
     1.5    public void run()
     1.6    {
     1.7 -    Log.msg("Starting Mailinglist Poller...", false);
     1.8 +    Log.get().info("Starting Mailinglist Poller...");
     1.9      int errors = 0;
    1.10      while(isRunning() && errors < 5)
    1.11      {
    1.12 @@ -119,7 +119,7 @@
    1.13        }
    1.14        catch(NoSuchProviderException ex)
    1.15        {
    1.16 -        Log.msg(ex.toString(), false);
    1.17 +        Log.get().severe(ex.toString());
    1.18          shutdown();
    1.19        }
    1.20        catch(AuthenticationFailedException ex)
    1.21 @@ -145,7 +145,7 @@
    1.22          errors++;
    1.23        }
    1.24      }
    1.25 -    Log.msg("MailPoller exited.", false);
    1.26 +    Log.get().severe("MailPoller exited.");
    1.27    }
    1.28    
    1.29  }