Maybe a bit the same as : https://jira.qos.ch/browse/LOGBACK-1430 Using JANSI this should be fixed by : https://jira.qos.ch/browse/LOGBACK-1392 JANSI has a jansi.force system properties to force use ANSI code or to strip it. (see https://github.com/fusesource/jansi/blob/master/jansi/src/main/java/org/fusesource/jansi/AnsiConsole.java#L145) By the way JANSI use isatty in its heuristic. (see https://github.com/fusesource/jansi/blob/master/jansi/src/main/java/org/fusesource/jansi/AnsiConsole.java#L150) |