Added log level 6 to reduce spam on level 5

Log level 5 is still default
This commit is contained in:
SChernykh
2021-08-25 09:38:47 +02:00
parent 09aedd9f9a
commit a27577f735
5 changed files with 5 additions and 5 deletions

View File

@@ -336,7 +336,7 @@ bool TCPServer<READ_BUF_SIZE, WRITE_BUF_SIZE>::connect_to_peer_nolock(Client* cl
MutexLock lock(m_pendingConnectionsLock);
if (!m_pendingConnections.insert(client->m_addr).second) {
LOGINFO(5, "there is already a pending connection to this IP, not connecting to " << log::Gray() << static_cast<char*>(client->m_addrString));
LOGINFO(6, "there is already a pending connection to this IP, not connecting to " << log::Gray() << static_cast<char*>(client->m_addrString));
m_preallocatedClients.push_back(client);
return false;
}