lose dependency on log4j. Improves backwards compatibility