update cppcommon to make logger thread safe