final String defaultLogDir = Configuration.appendLogsRoot(suite.getLogFolderName());
String logDir = request.getParameter("junit");
if (logDir != null) {
logDir = getLogDir(defaultLogDir, logDir);
suite.setJunitLogDir(logDir);
suite.addReporter(new JunitReporter(logDir));
}
logDir = request.getParameter("html");
if (logDir != null) {
logDir = getLogDir(defaultLogDir, logDir);
suite.setHtmlLogDir(logDir);