Moved some less interesting debug messages from INFO to MEDIUM level for better readability

This commit is contained in:
Thulinma 2020-08-17 10:08:34 +02:00
parent 5e57dd57af
commit 5019c2418c
2 changed files with 10 additions and 3 deletions

View file

@ -203,8 +203,11 @@ namespace Mist{
while (H.Read(myConn)){
std::string handler = getHandler();
INFO_MSG("Received request: %s => %s (%s)", H.getUrl().c_str(), handler.c_str(),
H.GetVar("stream").c_str());
if (handler != capa["name"].asStringRef() || H.GetVar("stream") != streamName){
INFO_MSG("Received request: %s => %s (%s)", H.getUrl().c_str(), handler.c_str(), H.GetVar("stream").c_str());
}else{
MEDIUM_MSG("Received request: %s => %s (%s)", H.getUrl().c_str(), handler.c_str(), H.GetVar("stream").c_str());
}
if (!handler.size()){
H.Clean();
H.SetHeader("Server", APPIDENT);