def report_event(name, parrent_page_id=nil, space=nil)
            page = find_page_by_name(name, parrent_page_id)
            if page
                append_to_page(page["id"], parrent_page_id)
            else
                create_page(name, space, parrent_page_id)
            end
            clear_log
        end
def report_event(name, parrent_page_id=nil, space=nil)
            page = find_page_by_name(name, parrent_page_id)
            if page
                append_to_page(page["id"], parrent_page_id)
            else
                create_page(name, space, parrent_page_id)
            end
            clear_log
        end
appends the log to confluence page if found, if not creates new page
 clears the log