LogFile weird bug