Avoid double logging config init + support for slf4j-log4j.