logidx = -1;
logFile = new LogFile[nbLogFile];
this.dir = dir ;
String[] list = dir.list(new StartWithFilter("log#"));
if (list == null) {
throw new IOException("NGTransaction error opening " + dir.getAbsolutePath());
} else if (list.length == 0) {
logidx = 0;
} else {