Index: trunk/quest-runner/src/main/java/de/ugoe/cs/quest/ui/Runner.java
===================================================================
--- trunk/quest-runner/src/main/java/de/ugoe/cs/quest/ui/Runner.java	(revision 672)
+++ trunk/quest-runner/src/main/java/de/ugoe/cs/quest/ui/Runner.java	(revision 674)
@@ -5,4 +5,5 @@
 import java.io.IOException;
 import java.util.List;
+import java.util.logging.Level;
 
 import joptsimple.OptionException;
@@ -70,7 +71,7 @@
             parser.accepts("ui", "Allowed values: text, swt").withRequiredArg()
                 .ofType(UITYPE.class).defaultsTo(UITYPE.text);
-        OptionSpec<LOG4JTYPE> trace =
-            parser.accepts("trace", "Allowed values: enable, disable").withRequiredArg()
-                .ofType(LOG4JTYPE.class).defaultsTo(LOG4JTYPE.enable);
+        OptionSpec<Level> trace =
+            parser.accepts("trace", "Allowed values: OFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL").withRequiredArg()
+                .ofType(Level.class).defaultsTo(Level.WARNING);
         OptionSet options = parser.parse(args);
 
@@ -92,15 +93,12 @@
             {
                 case text:
-                    TextConsole textConsole = new TextConsole();
-                    if (options.valueOf(trace) == LOG4JTYPE.disable) {
-                        textConsole.setDebug(false);
-                    }
+                    TextConsole textConsole = new TextConsole(options.valueOf(trace));
                     for (String command : startupCommands) {
                         CommandExecuter.getInstance().exec(command);
                     }
-                    textConsole.run(true);
+                    textConsole.run();
                     break;
                 case swt:
-                    MainWindow mainWindow = new MainWindow(startupCommands);
+                    MainWindow mainWindow = new MainWindow(startupCommands, options.valueOf(trace));
                     mainWindow.open();
                     break;
