Update log, write direct to file instead of using Java logger