Revert "fix aplogd build error"

This reverts commit 5a57350af1bdc42619ffdda23b461876e0969da2.
Revert "fix logd error"

This reverts commit 7dd0ebf93dbf8e7e3d010413c45f65ec3a8f6fc8.