p.setProperty("handler.consoleHandler.output", output);
p.setProperty("handler.consoleHandler.pattern", "%l %d %m%n");
p.setProperty("logger.root.level", "INFO");
p.setProperty("logger.root.handler.0", "consoleHandler");
mf = Monolog.getMonologFactory(p);
Logger logger = mf.getLogger("TestConsoleSwitcher.test1");
logger.log(BasicLevel.WARN, "warning message via Monolog");
logger.log(BasicLevel.INFO, "info message via Monolog");
System.out.println("Message on System.out");
System.err.println("Message on System.err");
}