Package org.apache.accumulo.server.watcher

Examples of org.apache.accumulo.server.watcher.MonitorLog4jWatcher


    }
    // Turn off messages about not being able to reach the remote logger... we protect against that.
    LogLog.setQuietMode(true);

    // Configure logging using information advertised in zookeeper by the monitor
    new MonitorLog4jWatcher(config.getInstance().getInstanceID(), logConfig, 5000).start();

    log.info(application + " starting");
    log.info("Instance " + config.getInstance().getInstanceID());
    int dataVersion = Accumulo.getAccumuloPersistentVersion(fs);
    log.info("Data Version " + dataVersion);
View Full Code Here


    String auditConfig = String.format("%s/auditLog.xml", System.getenv("ACCUMULO_CONF_DIR"));

    DOMConfigurator.configureAndWatch(auditConfig, 5000);

    // Configure logging using information advertised in zookeeper by the monitor
    MonitorLog4jWatcher logConfigWatcher = new MonitorLog4jWatcher(config.getInstance().getInstanceID(), logConfig);
    logConfigWatcher.setDelay(5000L);
    logConfigWatcher.start();

    log.info(application + " starting");
    log.info("Instance " + config.getInstance().getInstanceID());
    int dataVersion = Accumulo.getAccumuloPersistentVersion(fs);
    log.info("Data Version " + dataVersion);
View Full Code Here

    }
    // Turn off messages about not being able to reach the remote logger... we protect against that.
    LogLog.setQuietMode(true);

    // Configure logging using information advertised in zookeeper by the monitor
    new MonitorLog4jWatcher(config.getInstance().getInstanceID(), logConfig, 5000).start();

    log.info(application + " starting");
    log.info("Instance " + config.getInstance().getInstanceID());
    int dataVersion = Accumulo.getAccumuloPersistentVersion(fs);
    log.info("Data Version " + dataVersion);
View Full Code Here

    String auditConfig = String.format("%s/auditLog.xml", System.getenv("ACCUMULO_CONF_DIR"));

    DOMConfigurator.configureAndWatch(auditConfig, 5000);

    // Configure logging using information advertised in zookeeper by the monitor
    new MonitorLog4jWatcher(config.getInstance().getInstanceID(), logConfig, 5000).start();

    log.info(application + " starting");
    log.info("Instance " + config.getInstance().getInstanceID());
    int dataVersion = Accumulo.getAccumuloPersistentVersion(fs);
    log.info("Data Version " + dataVersion);
View Full Code Here

TOP

Related Classes of org.apache.accumulo.server.watcher.MonitorLog4jWatcher

Copyright © 2018 www.massapicom. 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.