Examples of GafferConfigurator


Examples of ch.qos.logback.classic.gaffer.GafferConfigurator

      LoggerContext lc = (LoggerContext) context;

      if (fileToScan.toString().endsWith("groovy")) {
        if (EnvUtil.isGroovyAvailable()) {
          lc.reset();
          GafferConfigurator gafferConfigurator = new GafferConfigurator(lc);
          gafferConfigurator.run(fileToScan);
          lc.getStatusManager().add(
                  new InfoStatus("done resetting the logging context", this));
        } else {
          StatusManager sm = context.getStatusManager();
          sm.add(new ErrorStatus("Groovy classes are not available on the class path. ABORTING INITIALIZATION.",
View Full Code Here

Examples of ch.qos.logback.classic.gaffer.GafferConfigurator

    if (url == null) {
      throw new IllegalArgumentException("URL argument cannot be null");
    }
    if (url.toString().endsWith("groovy")) {
      if (EnvUtil.isGroovyAvailable()) {
        GafferConfigurator gafferConfigurator = new GafferConfigurator(loggerContext);
        gafferConfigurator.run(url);
      } else {
        StatusManager sm = loggerContext.getStatusManager();
        sm.add(new ErrorStatus("Groovy classes are not available on the class path. ABORTING INITIALIZATION.",
                loggerContext));
      }
View Full Code Here

Examples of ch.qos.logback.classic.gaffer.GafferConfigurator

    jc.setContext(loggerContext);
    jc.doConfigure(is);
  }

  void gConfigure(File file) throws JoranException {
    GafferConfigurator gc = new GafferConfigurator(loggerContext);
    gc.run(file);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.