added log4j support