Package de.scoopgmbh.copper.monitoring.server.logging

Examples of de.scoopgmbh.copper.monitoring.server.logging.LogbackConfigManager


        runtimeStatisticsCollector,
        engines,
        monitoringQueue,
        true,
        introspector,
        new LogbackConfigManager(monitoringLogbackDataProvider),
        monitoringDataProviderManager);

    String host = (args.length > 0) ? args[0] : "localhost";
    int port = (args.length > 1) ? Integer.parseInt(args[1]) : 8080;
   
View Full Code Here


    monitoringLogbackDataProvider.startProvider();
    org.slf4j.Logger logger = LoggerFactory.getLogger(MonitoringLogbackDataProviderTest.class);
      logger.info("Hello world.");
      Mockito.verify(mock).submitLogEvent(Mockito.any(Date.class), Mockito.eq("INFO"), Mockito.anyString(), Mockito.eq("Hello world."));
     
      LogbackConfigManager logbackConfigManager = new LogbackConfigManager(monitoringLogbackDataProvider);
      logbackConfigManager.updateLogConfig(
          "<configuration scan=\"true\" scanPeriod=\"15 seconds\">\r\n" +
        "  <appender name=\"CONSOLE\" class=\"ch.qos.logback.core.ConsoleAppender\">\r\n" +
        "     <layout class=\"ch.qos.logback.classic.PatternLayout\">\r\n" +
        "      <Pattern>%d{HH:mm:ss.SSS} [%thread] %.-1level %logger{36} - %msg%n</Pattern>\r\n" +
        "    </layout>\r\n" +
View Full Code Here

TOP

Related Classes of de.scoopgmbh.copper.monitoring.server.logging.LogbackConfigManager

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.