File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ public static void main(String[] args) {
2121
2222 static int runPicocliWithExitCode (String [] args ) {
2323
24- LoggerConfiguration .configure (LoggerConfiguration .ConfigLevel .NONE );
2524
2625 logger .debug ("Args: " +String .join (", " , args ));
2726
Original file line number Diff line number Diff line change 1+ <configuration >
2+
3+ <appender name =" CONSOLE" class =" ch.qos.logback.core.ConsoleAppender" >
4+ <encoder >
5+ <pattern >%msg%n</pattern >
6+ </encoder >
7+ </appender >
8+
9+ <!-- Silent by default: LoggerConfiguration switches this to BASIC/DEBUG once
10+ the requested command and its options have been parsed. Without this file,
11+ Logback falls back to its own implicit default (root level DEBUG), which
12+ would print log output before the CLI gets a chance to configure itself. -->
13+ <root level =" OFF" >
14+ <appender-ref ref =" CONSOLE" />
15+ </root >
16+
17+ </configuration >
You can’t perform that action at this time.
0 commit comments