diff --git a/src/output/output.cpp b/src/output/output.cpp index fcabca81..356dc46b 100644 --- a/src/output/output.cpp +++ b/src/output/output.cpp @@ -1269,7 +1269,11 @@ namespace Mist{ } if (!config->is_active){Util::logExitReason("set inactive");} if (!myConn){Util::logExitReason("connection closed");} - INFO_MSG("Client handler shutting down, exit reason: %s", Util::exitReason); + 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*/ diff --git a/src/output/output_http.cpp b/src/output/output_http.cpp index 1adc6af2..1b848073 100644 --- a/src/output/output_http.cpp +++ b/src/output/output_http.cpp @@ -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);