Update LogWriter.java