throw new IOException("log file 1 " + file1.getName() + " is not a Bitronix Log file (incorrect header)");
long timestamp1 = activeRandomAccessFile.readLong();
activeRandomAccessFile.close();
activeRandomAccessFile = new RandomAccessFile(file2, "r");
int formatId2 = activeRandomAccessFile.readInt();
if (formatId2 != BitronixXid.FORMAT_ID)
throw new IOException("log file 2 " + file2.getName() + " is not a Bitronix Log file (incorrect header)");
long timestamp2 = activeRandomAccessFile.readLong();
activeRandomAccessFile.close();