Replace the java logger by the apache logger.