Description
Logger.error(Marker, Message, Throwable) doest not work, while:
- Logger.error(Marker, String, Throwable) works
- Logger.error(Marker, Message) works.
- Logger.error(Message, Throwable) works
- Logger.debug(Marker, Message, Throwable), info, fatal, all work. Only error does not work.
Java code:
Logger logger = LogManager.getLogger("test");
logger.error(MarkerManager.getMarker("TEST"), new SimpleMessage("test1"), new Exception());
logger.error(MarkerManager.getMarker("TEST"), "test2", new Exception());
logger.error(new SimpleMessage("test3"), new Exception());
logger.error(MarkerManager.getMarker("TEST"), new SimpleMessage("test4"));
logger.debug(MarkerManager.getMarker("TEST"), new SimpleMessage("test5"), new Exception());
logger.info(MarkerManager.getMarker("TEST"), new SimpleMessage("test6"), new Exception());
logger.fatal(MarkerManager.getMarker("TEST"), new SimpleMessage("test7"), new Exception());