log4j code templates