Do not output anything to stdout when logging is happening when the db is closed.

pull/4152/head
Isaac Connor 2024-09-23 11:43:55 -04:00
parent d513451e3f
commit 4af6e6eee0
1 changed files with 0 additions and 2 deletions

View File

@ -533,8 +533,6 @@ void Logger::logPrint(bool hex, const char *filepath, int line, int level, const
now_sec, static_cast<int64>(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