Examples of logging()


Examples of com.opera.core.systems.OperaSettings.logging()

      public void evaluate() throws Throwable {
        OperaSettings currentSettings = test.getSettings();

        OperaSettings newSettings = new OperaSettings();
        newSettings.setIdle(annotation.idle());
        newSettings.logging().setLevel(Level.parse(annotation.logLevel().toString()));

        // We only need to restart the driver if the settings are different
        if (currentSettings.useIdle() != newSettings.useIdle() ||
            currentSettings.logging().getLevel() != newSettings.logging().getLevel()) {
          test.setSettings(newSettings);
View Full Code Here

Examples of com.opera.core.systems.OperaSettings.logging()

        newSettings.setIdle(annotation.idle());
        newSettings.logging().setLevel(Level.parse(annotation.logLevel().toString()));

        // We only need to restart the driver if the settings are different
        if (currentSettings.useIdle() != newSettings.useIdle() ||
            currentSettings.logging().getLevel() != newSettings.logging().getLevel()) {
          test.setSettings(newSettings);
          AbstractTestCase.removeDriver();
        }

        statement.evaluate();
View Full Code Here

Examples of net.sf.ehcache.config.CacheConfiguration.logging()

        }

        Boolean loggingEnabled = conf.loggingEnabled().get();
        if( loggingEnabled != null )
        {
            cacheConfig.logging( loggingEnabled );
        }

        Boolean eternal = conf.eternal().get();
        cacheConfig.eternal( eternal );
View Full Code Here

Examples of org.apache.blur.thrift.generated.Blur.Iface.logging()

    Iface clientToNode = BlurClient.getClient(args[1]);
    Level level = Level.valueOf(args[2].toUpperCase().trim());
    String classNameOrLoggerName = args[3].trim();
    if (classNameOrLoggerName.equals("ROOT")) {
      clientToNode.logging(null, level);
    } else {
      clientToNode.logging(classNameOrLoggerName, level);
    }
  }
View Full Code Here

Examples of org.apache.blur.thrift.generated.Blur.Iface.logging()

    Level level = Level.valueOf(args[2].toUpperCase().trim());
    String classNameOrLoggerName = args[3].trim();
    if (classNameOrLoggerName.equals("ROOT")) {
      clientToNode.logging(null, level);
    } else {
      clientToNode.logging(classNameOrLoggerName, level);
    }
  }

  @Override
  public String description() {
View Full Code Here

Examples of org.jboss.aesh.console.settings.SettingsBuilder.logging()

            String doLogging = System.getProperty("aesh.logging");
            if(doLogging != null && doLogging.length() > 0)
                if(doLogging.equalsIgnoreCase("true") ||
                        doLogging.equalsIgnoreCase("false"))
                    builder.logging(Boolean.parseBoolean(doLogging));

            String logFile = System.getProperty("aesh.logfile");
            if(logFile != null && logFile.length() > 0)
                builder.logfile(logFile);
View Full Code Here

Examples of org.jboss.aesh.console.settings.SettingsBuilder.logging()

            String doLogging = System.getProperty("aesh.logging");
            if(doLogging != null && doLogging.length() > 0)
                if(doLogging.equalsIgnoreCase("true") ||
                        doLogging.equalsIgnoreCase("false"))
                    builder.logging(Boolean.parseBoolean(doLogging));

            String logFile = System.getProperty("aesh.logfile");
            if(logFile != null && logFile.length() > 0)
                builder.logfile(logFile);
View Full Code Here

Examples of org.jboss.aesh.console.settings.SettingsBuilder.logging()

public class AeshExampleExtension {

    public static void main(String[] args) throws IOException {
        SettingsBuilder settingsBuilder = new SettingsBuilder();
        settingsBuilder.readInputrc(false);
        settingsBuilder.logging(true);

        CommandRegistry registry = new AeshCommandRegistryBuilder()
                .command(ExitCommand.class)
                .command(Less.class)
                .command(More.class)
View Full Code Here

Examples of org.jboss.aesh.console.settings.SettingsBuilder.logging()

    public static void main(String[] args) throws IOException {

        //Settings.getInstance().setAnsiConsole(false);
        SettingsBuilder settingsBuilder = new SettingsBuilder();
        settingsBuilder.readInputrc(false);
        settingsBuilder.logging(true);
        final Console exampleConsole = new Console(settingsBuilder.create());

        PrintWriter out = new PrintWriter(System.out);

        final Man man = new Man(exampleConsole);
View Full Code Here

Examples of org.jboss.aesh.console.settings.SettingsBuilder.logging()

            String doLogging = System.getProperty("aesh.logging");
            if(doLogging != null && doLogging.length() > 0)
                if(doLogging.equalsIgnoreCase("true") ||
                        doLogging.equalsIgnoreCase("false"))
                    builder.logging(Boolean.parseBoolean(doLogging));

            String logFile = System.getProperty("aesh.logfile");
            if(logFile != null && logFile.length() > 0)
                builder.logfile(logFile);
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.