Fixed log.cpp file.c_str()
Fixed log.cpp