diff --git a/BedrockServer.cpp b/BedrockServer.cpp index e20853cae..a69747ee2 100644 --- a/BedrockServer.cpp +++ b/BedrockServer.cpp @@ -2044,7 +2044,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);