diff --git a/common/perf-stats.cc b/common/perf-stats.cc index d2ed7571..08d7fb67 100644 --- a/common/perf-stats.cc +++ b/common/perf-stats.cc @@ -153,7 +153,7 @@ void statsReportingThread() for (auto i=lookupPerfStat.begin(); i!=lookupPerfStat.end(); ++i) { ss << i->second << "=" << getStat(i->first) << " "; } - warnlog("%s", ss.str()); + noticelog("%s", ss.str()); if (command_stats.size() != 0) { ss.str(std::string()); @@ -162,7 +162,7 @@ void statsReportingThread() for (const auto& i : command_stats) { ss << i << "=" << getCommandStat(i) << " "; } - warnlog("%s", ss.str()); + noticelog("%s", ss.str()); } if (custom_stats.size() != 0) { @@ -172,14 +172,14 @@ void statsReportingThread() for (const auto& i : custom_stats) { ss << i << "=" << getCustomStat(i) << " "; } - warnlog("%s", ss.str()); + noticelog("%s", ss.str()); } } } void startStatsThread() { - warnlog("Starting stats reporting thread"); + infolog("Starting stats reporting thread"); initPerfStats(); thread t(statsReportingThread); t.detach(); diff --git a/common/wforce-webserver.cc b/common/wforce-webserver.cc index 16f6f062..180e54bd 100644 --- a/common/wforce-webserver.cc +++ b/common/wforce-webserver.cc @@ -302,7 +302,7 @@ void WforceWebserver::connectionStatsThread(WforceWebserver* wws) for (;;) { sleep(interval); - warnlog("Number of active connections: %d, Max active connections: %d", wws->getNumConns(), wws->d_max_conns); + noticelog("Number of active connections: %d, Max active connections: %d", wws->getNumConns(), wws->d_max_conns); } } @@ -405,7 +405,7 @@ void WforceWebserver::pollThread(WforceWebserver* wws) void WforceWebserver::start(int sock, const ComboAddress& local, const std::string& password, WforceWebserver* wws) { - warnlog("WforceWebserver launched on %s", local.toStringWithPort()); + noticelog("WforceWebserver launched on %s", local.toStringWithPort()); auto localACL=wws->d_ACL.getLocal(); // spin up a thread to do the polling on the connections accepted by this thread diff --git a/trackalert/trackalert.cc b/trackalert/trackalert.cc index 28e5bc86..db54aa77 100644 --- a/trackalert/trackalert.cc +++ b/trackalert/trackalert.cc @@ -229,7 +229,7 @@ try { ComboAddress client; int sock; - warnlog("Accepting control connections on %s", local.toStringWithPort()); + noticelog("Accepting control connections on %s", local.toStringWithPort()); while((sock=SAccept(fd, client)) >= 0) { infolog("Got control connection from %s", client.toStringWithPort()); thread t(controlClientThread, sock, client); diff --git a/wforce/blacklist.cc b/wforce/blacklist.cc index 410a3a0c..f7af2503 100644 --- a/wforce/blacklist.cc +++ b/wforce/blacklist.cc @@ -618,7 +618,7 @@ bool BlackListDB::loadPersistEntries() throw WforceException(myerr); } if (retval == true) - warnlog("Loaded %d blacklist entries from persistent redis DB", num_entries); + noticelog("Loaded %d blacklist entries from persistent redis DB", num_entries); } return retval; } diff --git a/wforce/wforce.cc b/wforce/wforce.cc index fc65ccd1..8d9ed1ce 100644 --- a/wforce/wforce.cc +++ b/wforce/wforce.cc @@ -242,7 +242,7 @@ try { ComboAddress client; int sock; - warnlog("Accepting control connections on %s", local.toStringWithPort()); + noticelog("Accepting control connections on %s", local.toStringWithPort()); while((sock=SAccept(fd, client)) >= 0) { infolog("Got control connection from %s", client.toStringWithPort()); thread t(controlClientThread, sock, client); @@ -832,7 +832,7 @@ void receiveReplicationOperationsTCP(ComboAddress local) sock.setReuseAddr(); sock.bind(local); sock.listen(1024); - warnlog("Launched TCP sibling replication listener on %s", local.toStringWithPort()); + noticelog("Launched TCP sibling replication listener on %s", local.toStringWithPort()); for (;;) { // we wait for activity @@ -865,7 +865,7 @@ void receiveReplicationOperations(ComboAddress local) s->checkIgnoreSelf(local); } - warnlog("Launched UDP sibling replication listener on %s", local.toStringWithPort()); + noticelog("Launched UDP sibling replication listener on %s", local.toStringWithPort()); for(;;) { shared_ptr recv_sibling = nullptr; len=recvfrom(sock.getHandle(), buf, sizeof(buf), 0, (struct sockaddr*)&remote, &remlen);