throw new IOException("Could not create the file " + file);
}
PrintStream redirected = null;
if (shouldPrintToConsole(property)) {
PrintStream[] console = { stream };
redirected = new MultiplePrintStream(file, console);
} else {
redirected = new PrintStream(file);
}
updateSystem(redirected);
} catch (FileNotFoundException ex) {