changed log.java file