From 4af6e6eee01360c1a1b356aa7f47ed2dfa7844aa Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 23 Sep 2024 11:43:55 -0400 Subject: [PATCH] Do not output anything to stdout when logging is happening when the db is closed. --- src/zm_logger.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/zm_logger.cpp b/src/zm_logger.cpp index afce22abf..a21e8ead1 100644 --- a/src/zm_logger.cpp +++ b/src/zm_logger.cpp @@ -533,8 +533,6 @@ void Logger::logPrint(bool hex, const char *filepath, int line, int level, const now_sec, static_cast(now_frac.count()), mId.c_str(), staticConfig.SERVER_ID, tid, level, classString, escapedString.c_str(), file, line); dbQueue.push(std::move(sql_string)); - } else { - puts("Db is closed"); } } // end if level <= mDatabaseLevel