title: How to configure null appender in log4j2
body: <p>Log4j 1.* has a <a href="https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/varia/NullAppender.html">null appender class</a>, but I couldn't find the equivalent in log4j 2.  Is there one? How does one configure a null appender in log4j2.xml?</p>