Create log.cpp