Only force tools.logging to use log4j if available [IMMUTANT-449]