fix the bug that can not roll the api_objects of log