code: public static void configure(boolean verbose, boolean daemon) {
          LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory();
          ConsoleAppender<ILoggingEvent> ca = new ConsoleAppender<ILoggingEvent>();
          ca.setContext(lc);
          ca.setName("less console");
          PatternLayoutEncoder pl = new PatternLayoutEncoder();
          pl.setContext(lc);
          pl.setPattern("%msg%n");
          pl.start();
  
          ca.setEncoder(pl);
          ca.start();
  
          //prevent double log output
          lc.getLogger(Logger.ROOT_LOGGER_NAME).detachAndStopAllAppenders();
          configureCompilerLogger(verbose, lc, ca);
          configureCompilationTaskLogger(daemon, lc, ca);
          configureLessCompilationEngineLogger(verbose, lc, ca);
      }
docs: Configure the LessCompilerImpl logger with a ConsoleAppender
  
  @param verbose set logger level to Level.ALL if true, otherwise Level.OFF
  @param daemon  set the level of the compilationTaskLogger to Level.INFO if true, otherwise Level.OFF