Only log to the console when updating the file