Fix log api call for several plugins