Move log.h and log.cpp back to cpp-common, minus to SAS dependency