if ( !slave.hasLog( version ) )
{
try
{
logVersionWriting = version;
<BUG>tempFile = File.createTempFile( "logical-log",
Long.toString( version ) );</BUG>
logToWrite = new RandomAccessFile( tempFile,
<BUG>"rw").getChannel();
}</BUG>
catch ( IOException e )

if ( !slave.hasLog( version ) )
{
try
{
logVersionWriting = version;
tempFile = new File( "logical-transfer.v" +
Long.toString( version ) );
logToWrite = new RandomAccessFile( tempFile,
"rw").getChannel();
logToWrite.truncate( 0 );
}
