Fix position of loggerFactory in log4j.xml