Index: benchmark/io/http/options.cfa
===================================================================
--- benchmark/io/http/options.cfa	(revision 8a039bee78dad1439e000c92fc34b3722f9b3f58)
+++ benchmark/io/http/options.cfa	(revision 5cefa433745f174ac307ad32f414eb2fef7476a2)
@@ -21,4 +21,7 @@
 	false, // log
 	false, // stats
+	true, // interactive
+	0, // redirect
+	0, // redirect
 
 	{ // file_cache
@@ -62,5 +65,8 @@
 		{'\0', "isolate",        "Create one cluster per processor", isolate, parse_settrue},
 		{'\0', "log",            "Enable logs", options.log, parse_settrue},
+		{'\0', "sout",           "Redirect standard out to file", options.reopen_stdout},
+		{'\0', "serr",           "Redirect standard error to file", options.reopen_stderr},
 		{'\0', "stats",          "Enable statistics", options.stats, parse_settrue},
+		{'\0', "shell",          "Disable interactive mode", options.interactive, parse_setfalse},
 		{'\0', "accept-backlog", "Maximum number of pending accepts", options.socket.backlog},
 		{'\0', "request_len",    "Maximum number of bytes in the http request, requests with more data will be answered with Http Code 414", options.socket.buflen},
@@ -131,3 +137,26 @@
 
 	options.file_cache.path = path;
+
+	if( options.reopen_stdout && options.reopen_stderr && 0 == strcmp(options.reopen_stdout, options.reopen_stderr) ) {
+		serr | "Redirect sout and serr to the same file is not supported";
+		exit(EXIT_FAILURE);
+	}
+
+	if( options.reopen_stdout ) {
+		sout | "redirecting sout to '" | options.reopen_stdout | "'";
+		FILE  * ret = freopen( options.reopen_stdout, "w", stdout);
+		if( ret == 0p ) {
+			serr | "Failed to redirect sout to '" | options.reopen_stdout | "'";
+			exit(EXIT_FAILURE);
+		}
+	}
+
+	if( options.reopen_stderr ) {
+		sout | "redirecting serr to '" | options.reopen_stderr | "'";
+		FILE  * ret = freopen( options.reopen_stderr, "w", stderr);
+		if( ret == 0p ) {
+			serr | "Failed to redirect serr to '" | options.reopen_stderr | "'";
+			exit(EXIT_FAILURE);
+		}
+	}
 }
