diff --git a/src/log.cpp b/src/log.cpp index 320237911..889e1cb52 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -163,6 +163,9 @@ void _logFileThread() { } bool startLogFile(const char* path) { + logFileAvail=false; + return false; + /* if (logFileAvail) return true; // rotate log file if possible @@ -181,6 +184,7 @@ bool startLogFile(const char* path) { logFileThread=new std::thread(_logFileThread); return true; + */ } bool finishLogFile() { @@ -196,4 +200,4 @@ bool finishLogFile() { fclose(logFile); return true; -} \ No newline at end of file +}