979899100101102103104105106107
servlet.init(config); assertNull(JolokiaServlet.getCurrentBundleContext()); LogHandler handler = servlet.createLogHandler(config, true); handler.debug("Debug"); handler.info("Info"); handler.error("Error",new Exception()); destroyServlet(); }