update logger.cpp/g