Moved some less interesting debug messages from INFO to MEDIUM level for better readability
This commit is contained in:
parent
5e57dd57af
commit
5019c2418c
2 changed files with 10 additions and 3 deletions
|
@ -1269,7 +1269,11 @@ namespace Mist{
|
|||
}
|
||||
if (!config->is_active){Util::logExitReason("set inactive");}
|
||||
if (!myConn){Util::logExitReason("connection closed");}
|
||||
if (strncmp(Util::exitReason, "connection closed", 17) == 0){
|
||||
MEDIUM_MSG("Client handler shutting down, exit reason: %s", Util::exitReason);
|
||||
}else{
|
||||
INFO_MSG("Client handler shutting down, exit reason: %s", Util::exitReason);
|
||||
}
|
||||
onFinish();
|
||||
|
||||
/*LTS-START*/
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue