add log4j support