Package chapter4

Examples of chapter4.ConfigurationTester


    }
    // After we've called Joran, let's print information about the
    // internal status of logback
    StatusPrinter.print(lc.getStatusManager());
   
    logger.debug("**Hello {}", new Bar());
    MDC.put("testKey", "testValueFromMDC");
    MDC.put("testKey2", "value2");
    for (int i = 0; i < 10; i++) {
      logger.debug("logging statement " + i);
      Thread.sleep(1000);
    }
    Bar bar = new Bar();
    bar.createLoggingRequest();
  }
View Full Code Here


    }
    // After we've called Joran, let's print information about the
    // internal status of logback
    StatusPrinter.print(lc.getStatusManager());
   
    logger.debug("**Hello {}", new Bar());
    MDC.put("testKey", "testValueFromMDC");
    MDC.put("testKey2", "value2");
    for (int i = 0; i < 10; i++) {
      logger.debug("logging statement " + i);
      Thread.sleep(1000);
    }
    Bar bar = new Bar();
    bar.createLoggingRequest();
  }
View Full Code Here

      lc.shutdownAndReset();
      configurator.doConfigure(args[0]);
    } catch (JoranException je) {
      je.printStackTrace();
    }
    logger.debug("**Hello {}", new Bar());
    MDC.put("testKey", "testValueFromMDC");
    MDC.put("testKey2", "value2");
    for (int i = 0; i < 10; i++) {
      logger.debug("logging statement " + i);
    }
    Bar bar = new Bar();
    bar.createLoggingRequest();

    StatusPrinter.print(lc.getStatusManager());
  }
View Full Code Here

      lc.shutdownAndReset();
      configurator.doConfigure(args[0]);
    } catch (JoranException je) {
      je.printStackTrace();
    }
    logger.debug("**Hello {}", new Bar());
    MDC.put("testKey", "testValueFromMDC");
    MDC.put("testKey2", "value2");
    for (int i = 0; i < 10; i++) {
      logger.debug("logging statement " + i);
    }
    Bar bar = new Bar();
    bar.createLoggingRequest();

    StatusPrinter.print(lc.getStatusManager());
  }
View Full Code Here

    }
    // After we've called Joran, let's print information about the
    // internal status of logback
    StatusPrinter.print(lc.getStatusManager());
   
    logger.debug("**Hello {}", new Bar());
    MDC.put("testKey", "testValueFromMDC");
    MDC.put("testKey2", "value2");
    for (int i = 0; i < 10; i++) {
      logger.debug("logging statement " + i);
      Thread.sleep(1000);
    }
    Bar bar = new Bar();
    bar.createLoggingRequest();
  }
View Full Code Here

TOP

Related Classes of chapter4.ConfigurationTester

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.