public void configureForSubprocessGobbler(Props props, String logPattern) {
    if (isAllLogsToConsoleEnabled(props)) {
      LoggerContext ctx = getRootContext();
      ctx.getLogger(ROOT_LOGGER_NAME).addAppender(newConsoleAppender(ctx, "root_console", logPattern));
    }
  }
public void configureForSubprocessGobbler ( Props props , String logPattern ) { if ( isAllLogsToConsoleEnabled ( props ) ) { LoggerContext ctx = getRootContext ( ) ; ctx . getLogger ( ROOT_LOGGER_NAME ) . addAppender ( newConsoleAppender ( ctx , "root_console" , logPattern ) ) ; } }
Make the logback configuration for a sub process to correctly push all its logs to be read by a stream gobbler
on the sub process's System.out.

@see #buildLogPattern(RootLoggerConfig)