Added basic log4j logging support