write log4j