* Do not open file in constructor, we can do this lazily.

This commit is contained in:
hns 2006-02-09 14:09:48 +00:00
parent 2cea688e10
commit e41f6c02f1

View file

@ -60,8 +60,6 @@ public class FileLogger extends Logger implements Log {
logdir.mkdirs();
}
openFile();
// create a synchronized list for log entries since different threads may
// attempt to modify the list at the same time
entries = Collections.synchronizedList(new LinkedList());