Skip to content

Commit

Permalink
Try cut some debug information out of console logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ultraq committed Jun 16, 2024
1 parent 28f8b1e commit f5f9ba1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
<timestamp key="timestamp" datePattern="yyyy-MM-dd-HH-mm-ss"/>

<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
<encoder>
<pattern>[%thread] %-5level %logger{0} - %msg%n</pattern>
</encoder>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import java.util.concurrent.Callable
class Explorer implements Callable<Integer> {

static {
System.setProperty('logback.configurationFile', 'logback-explorer.xml')
System.setProperty('logback.configurationFile', 'logback-application.xml')
}

@Spec
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ import java.util.concurrent.Callable
@Command(name = 'shooter')
class Shooter implements Callable<Integer> {

static {
System.setProperty('logback.configurationFile', 'logback-application.xml')
}

@Spec
CommandSpec commandSpec

Expand Down

0 comments on commit f5f9ba1

Please sign in to comment.