change C++ -> C log