Avoid deadlock in log rotation

This commit is contained in:
Aaron Culliney 2018-11-17 15:52:14 -08:00
parent 05633d4b0e
commit 0625084602

View File

@ -74,7 +74,7 @@ static void _log_rotate(bool performRotation) {
logSiz = lseek(logFd, 0L, SEEK_END);
log_outputString("-------------------------------------------------------------------------------");
//log_outputString("-------------------------------------------------------------------------------"); -- do not write to logfile here unless lock is recursive
FREE(logPath);
}