initialize useTransactions to true.
getLogger is now proteced and should only be used by classes in the helma.main package.
This commit is contained in:
parent
4738cc516e
commit
29943bd3e9
1 changed files with 5 additions and 4 deletions
|
@ -28,13 +28,14 @@ import com.sleepycat.db.*;
|
|||
public class Server implements Runnable {
|
||||
|
||||
|
||||
public static boolean useTransactions, paranoid;
|
||||
|
||||
public static boolean useTransactions = true;
|
||||
public static boolean paranoid;
|
||||
public static String dbFilename = "hop.db";
|
||||
|
||||
private ApplicationManager appManager;
|
||||
|
||||
private Thread mainThread;
|
||||
|
||||
public static String dbFilename = "hop.db";
|
||||
static String propfile;
|
||||
static String dbPropfile = "db.properties";
|
||||
static String appsPropfile;
|
||||
|
@ -260,7 +261,7 @@ import com.sleepycat.db.*;
|
|||
|
||||
}
|
||||
|
||||
public static Logger getLogger () {
|
||||
protected static Logger getLogger () {
|
||||
if (logger == null) {
|
||||
String logDir = sysProps.getProperty ("logdir");
|
||||
if (logDir == null || "console".equalsIgnoreCase (logDir)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue