Log is not updated when input is the same