configurationProperties.getProperty(
"gov.nist.javax.sip.DEBUG_LOG_OVERWRITE"));
FileAppender fa = null;
try {
fa = new FileAppender(new SimpleLayout(),
this.logFileName, !overwrite);
} catch (FileNotFoundException fnf) {
// Likely due to some directoy not existing. Create
// them
File logfile = new File(this.logFileName);
logfile.getParentFile().mkdirs();
logfile.delete();
try {
fa = new FileAppender(new SimpleLayout(),
this.logFileName);
} catch (IOException ioe) {
ioe.printStackTrace(); // give up
}
} catch (IOException ex) {