add log4j layout support