Added log4j plugin support