remove abstracted add_to_log function