diff --git a/src/cpp/ripple/Log.cpp b/src/cpp/ripple/Log.cpp index a9b9cfdba..dfef66797 100644 --- a/src/cpp/ripple/Log.cpp +++ b/src/cpp/ripple/Log.cpp @@ -168,6 +168,7 @@ void Log::setLogFile(boost::filesystem::path path) std::ofstream* newStream = new std::ofstream(path.c_str(), std::fstream::app); if (!newStream->good()) { + Log(lsFATAL) << "Unable to open logfile " << path; delete newStream; newStream = NULL; }