Update Logger.java

some changes