Does this append to the log twice? Typo perhaps?