try {
File logfile = new File("C:\\temp\\serverLogfile");
OutputStream outputStream = new FileOutputStream(logfile);
Printer printer = new NullPrinter(outputStream);
ServerNetworkWrapper serverNetworkWrapper = new ServerNetworkWrapper(printer);
serverNetworkWrapper.accept();
} catch (Exception e) {
e.printStackTrace();
}