Move ApiListener timer logs to 'notice'.

Refs #6070
This commit is contained in:
Michael Friedrich 2014-05-23 14:16:35 +02:00
parent 09f3040bae
commit 15f054b7fe
1 changed files with 2 additions and 2 deletions

View File

@ -329,14 +329,14 @@ void ApiListener::ApiTimerHandler(void)
Utility::FormatDateTime("%Y/%m/%d %H:%M:%S", ts));
}
Log(LogInformation, "remote", "Current zone master: " + GetMaster()->GetName());
Log(LogNotice, "remote", "Current zone master: " + GetMaster()->GetName());
std::vector<String> names;
BOOST_FOREACH(const Endpoint::Ptr& endpoint, DynamicType::GetObjects<Endpoint>())
if (endpoint->IsConnected())
names.push_back(endpoint->GetName() + " (" + Convert::ToString(endpoint->GetClients().size()) + ")");
Log(LogInformation, "remote", "Connected endpoints: " + Utility::NaturalJoin(names));
Log(LogNotice, "remote", "Connected endpoints: " + Utility::NaturalJoin(names));
}
void ApiListener::RelayMessage(const MessageOrigin& origin, const DynamicObject::Ptr& secobj, const Dictionary::Ptr& message, bool log)