added log4j layout support