I am using a third-party library which has a log4j.xml configuration - what\'s the best way to turn off the logging?
Depends on configuration. Try something like:
Check Log4jXmlFormat for more details.