Update log periodically.