diff -r bb6990c0dd1a -r f9bf183447d1 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 Sun Aug 29 17:03:21 2010 +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; } }