Adding log4j support