LogManager.getLogManager().reset();
Logger rootLogger = Logger.getLogger("");
RedirectableConsoleHandler redirectableConsoleHandler = new RedirectableConsoleHandler();
out = new StringifiedOutputStream();
redirectableConsoleHandler.setOutputStream(out);
redirectableConsoleHandler.setFormatter(new RioLogFormatter());
rootLogger.addHandler(redirectableConsoleHandler);
}