* @return
*/
LogFileWriter createWriter() {
// First try to return a writer with the given name
try {
return new LogFileWriter(this.recordingFile, this.compressOutput);
} catch (Exception e) {}
// First try to return a writer with some time stamp attached (in case the old one was not overwritable)
try {
return new LogFileWriter(this.recordingFile + "." + System.currentTimeMillis(), this.compressOutput);
} catch (Exception e) {}
// Now we are out of luck
return null;
}