log: unchecked return value from library

fix 1237557 Unchecked return value from library
resolve: fix CID#1237549 Unchecked return value
bus-socket: fix CID#996290 Unchecked return value