changed log4j to properties file