diff --git a/jpos/src/main/java/org/jpos/q2/CLI.java b/jpos/src/main/java/org/jpos/q2/CLI.java index 0260813c38..30d45ba500 100644 --- a/jpos/src/main/java/org/jpos/q2/CLI.java +++ b/jpos/src/main/java/org/jpos/q2/CLI.java @@ -26,6 +26,8 @@ import java.io.*; import java.util.*; +import java.util.logging.Level; +import java.util.logging.Logger; public class CLI implements Runnable { final private static String DEFAULT_PROMPT = "q2> "; @@ -47,6 +49,7 @@ public CLI(Q2 q2, String line, boolean keepRunning) throws IOException { } public CLI(Q2 q2, InputStream in, OutputStream rawout, String line, boolean keepRunning, boolean interactive) throws IOException { + Logger.getLogger("org.jline").setLevel(Level.WARNING); this.q2 = q2; PrintStream out = rawout instanceof PrintStream ? (PrintStream) rawout : new PrintStream(rawout); ctx = buildCLIContext(in, out);