Java – Disabling Log4J Output in Java

javalog4jlogging

How can one quickly turn off all Log4J output using a log4j.properties file?

Best Answer

Set level to OFF (instead of DEBUG, INFO, ....)