log button replacing