diff --git a/BedrockServer.cpp b/BedrockServer.cpp index 2cecf64f4..0f436a71b 100644 --- a/BedrockServer.cpp +++ b/BedrockServer.cpp @@ -2045,7 +2045,7 @@ void BedrockServer::_acceptSockets() { uint64_t now = STimeNow(); if ((port != _controlPort) && (_outstandingSocketThreads >= _maxSocketThreads)) { if ((lastLogged < now - 3'000'000)) { - SINFO("Not accepting any new socket threads as we already have " << _outstandingSocketThreads << " of " << _maxSocketThreads); + SWARN("Not accepting any new socket threads as we already have " << _outstandingSocketThreads << " of " << _maxSocketThreads); lastLogged = now; } return; diff --git a/sqlitecluster/SQLitePool.cpp b/sqlitecluster/SQLitePool.cpp index 5a1d48385..bb1937a9b 100644 --- a/sqlitecluster/SQLitePool.cpp +++ b/sqlitecluster/SQLitePool.cpp @@ -60,7 +60,7 @@ size_t SQLitePool::getIndex(bool createHandle) { return index; } else { // Wait for a handle. - SINFO("Waiting for DB handle"); + SWARN("Waiting for DB handle"); _wait.wait(lock); } } @@ -88,7 +88,7 @@ void SQLitePool::returnToPool(size_t index) { } SQLiteScopedHandle::SQLiteScopedHandle(SQLitePool& pool, size_t index) : _pool(pool), _index(index) -{} +{} SQLiteScopedHandle::~SQLiteScopedHandle() { _pool.returnToPool(_index);