translating add_to_log calls to use Events2