org/sonews/util/Log.java
changeset 3 2fdc9cc89502
parent 1 6fceb66e1ad7
child 15 f2293e8566f5
     1.1 --- a/org/sonews/util/Log.java	Wed Jul 01 10:48:22 2009 +0200
     1.2 +++ b/org/sonews/util/Log.java	Wed Jul 22 14:04:05 2009 +0200
     1.3 @@ -18,8 +18,8 @@
     1.4  
     1.5  package org.sonews.util;
     1.6  
     1.7 -import org.sonews.daemon.*;
     1.8  import java.util.Date;
     1.9 +import org.sonews.config.Config;
    1.10  
    1.11  /**
    1.12   * Provides logging and debugging methods.
    1.13 @@ -31,10 +31,10 @@
    1.14    
    1.15    public static boolean isDebug()
    1.16    {
    1.17 -    // We must use BootstrapConfig here otherwise we come
    1.18 +    // We must use FileConfig here otherwise we come
    1.19      // into hell's kittchen when using the Logger within the
    1.20      // Database class.
    1.21 -    return BootstrapConfig.getInstance().get(BootstrapConfig.DEBUG, false);
    1.22 +    return Config.inst().get(Config.DEBUG, false);
    1.23    }
    1.24    
    1.25    /**