diff -r bb6990c0dd1a -r 2541bdb54cb2 org/sonews/config/BackendConfig.java --- a/org/sonews/config/BackendConfig.java Thu Aug 20 14:31:19 2009 +0200 +++ b/org/sonews/config/BackendConfig.java Wed Aug 26 10:47:51 2009 +0200 @@ -18,6 +18,7 @@ package org.sonews.config; +import java.util.logging.Level; import org.sonews.util.Log; import org.sonews.storage.StorageBackendException; import org.sonews.storage.StorageManager; @@ -64,7 +65,7 @@ { if(StorageManager.current() == null) { - Log.msg("Warning: BackendConfig not available, using default.", false); + Log.get().warning("BackendConfig not available, using default."); return defaultValue; } @@ -86,7 +87,7 @@ } catch(StorageBackendException ex) { - Log.msg(ex.getMessage(), false); + Log.get().log(Level.SEVERE, "Storage backend problem", ex); return defaultValue; } }