From 0625084602a5ce1d748a6763f458bb074b8416f5 Mon Sep 17 00:00:00 2001 From: Aaron Culliney Date: Sat, 17 Nov 2018 15:52:14 -0800 Subject: [PATCH] Avoid deadlock in log rotation --- src/meta/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta/log.c b/src/meta/log.c index 074b6edf..35ec990e 100644 --- a/src/meta/log.c +++ b/src/meta/log.c @@ -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); }